4 ms·
Sounds like you might be using an old version of the Rust toolchain, from before the edition feature was in the stable channel. Try this: rustup update And
by codetrotter 7y ago
Sounds like you might be using an old version of the Rust toolchain, from before the edition feature was in the stable channel.
Try this:
rustup update
And then try again
cargo install pyoxidizer
Edit: That is, assuming you installed the Rust toolchain via https://rustup.rs/ https://rustup.rs/, which you should -- the official package repos of most distros are sure to contain really old outdated versions of the Rust toolchain.
- mehrdadn 7y agoHuh I see. There's no rustup anywhere to be found. Rust just from MSYS2 in Oct. 2018, just 8 months ago. Updated it now and now it's installing fine, thanks. Here's what I had: $ pacboy -Qi rust:x Name : mingw-w64-x86_64-rust Version : 1.29.2-1 Build Date : Sun, Oct 28, 2018 9:43:06 PM ... Now I have 1.35.0-1 which seems to be the most recent version (with rustup still nowhere to be found).
- codetrotter 7y agoYeah I realized after commenting that that you might not have installed it via rustup.rs. Glad to hear that you were able to get a new enough version after updating. 8 months might not seem like a long time but quite a few things have happened in that time, including some features having become stabilized. https://github.com/rust-lang/rust/blob/master/RELEASES.md https://github.com/rust-lang/rust/blob/master/RELEASES.md 1.35.0 is the current stable Rust toolchain indeed.
- mehrdadn 7y agoYup, updated my post. Would you know how to prevent Rust from embedding absolute file paths into the binary?