-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When providing the --device flag, +nightly is added to cargo build:
Lines 611 to 615 in f46cda4
| let mut args = if self.device { | |
| vec!["+nightly", "build"] | |
| } else { | |
| vec!["build"] | |
| }; |
and I run into the following error:
INFO crank > build command: RUSTFLAGS="-Ctarget-cpu=cortex-m7 -Clink-args=--emit-relocs -Crelocation-model=pic -Cpanic=abort" "cargo" "+nightly" "build" "--lib" "--target" "thumbv7em-none-eabihf" "-Zbuild-std=core,alloc" "-Zbuild-std-features=panic_immediate_abort"
error: no such command: `+nightly`
Cargo does not handle `+toolchain` directives.
Did you mean to invoke `cargo` through `rustup` instead?
Error: cargo failed with error ExitStatus(unix_wait_status(25856))
I've been using a local copy of crank that removes +nightly and everything seems to work fine.
What's the motivation for adding +nightly when the --device flag is provided?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels