koute / cargo-web

A Cargo subcommand for the client-side Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. git clone https://github.com/AlephAlpha/rlifesrc.git
  2. cd web
  3. cargo web start --release
    got: Conflicting usage of --profile and --release
commented

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?