Conflicting usage of --profile and --release
serzhiio opened this issue · comments
On latest Nightly i'm getting
Conflicting usage of --profile and --release
when
cargo web start --release
same here.
to reproduce with example:
- git clone https://github.com/AlephAlpha/rlifesrc.git
- cd web
- cargo web start --release
got: Conflicting usage of --profile and --release
Thanks for the report!
This is due to a recent non-backwards compatible change in cargo
: rust-lang/cargo#7488
I'll think about how to best handle this; in the mean time please use a slightly older nightly as a workaround (e.g. nightly-2019-09-21 still works fine).
tried with cargo-web 0.6.21, got this:
error: stdweb
's Web.toml requires at least cargo-web
0.6.24; please update
cargo-web 0.6.26
still has this issue with toolchain
nightly-x86_64-pc-windows-msvc unchanged - rustc 1.40.0-nightly (2748a9fd9 2019-10-08)
solution is using stable toolchain if you dont want to downgrade nightly
cargo +stable web start/build --release
in the mean time please use a slightly older nightly as a workaround (e.g. nightly-2019-09-21 still works fine).
How do I do that?