use of unstable library feature 'process_set_argv0'
mmstick opened this issue · comments
Any chance to support those of us building Rust applications for Linux distributions that haven't yet updated Rustc beyond 1.43.0 (Ubuntu)?
Hmm, I wonder what would be the most idiomatic way to solve this problem.
What if we add Cargo feature named "1.45.0" that is enabled by default and includes APIs introduced in rust 1.45.0, i.e. the arg0
method?
#[cfg(version("1.45.0")]
was merged back in April, but sadly it is still marked as an experimental feature, so that won't work.
Any means of compiling it for older Rust releases is fine with me.
I think it difficult to support old compilers using ways like cfg(version)
as CommandExt
is not sealed.
Closing -- ubuntu's rustc is now 1.47, and async-process supports that version.