Open smessmer opened 3 years ago
When I add a .cargo/config.toml
with
[unstable]
unstable-options = true
then the error message changes to:
~/screeps (master)> cargo screeps build
cargo_screeps::run: compiling...
error: conflicting usage of --profile=dev and --release
The `--release` flag is the same as `--profile=release`.
Remove one flag or the other to continue.
error: cargo-web build failed: build failed
It works if I remove the --release
from https://github.com/rustyscreeps/cargo-screeps/blob/master/src/build.rs#L41, but I imagine that I'm getting a debug build then and I'd prefer a release build.
Also, I'm not actually getting a working debug build but I'm running into https://github.com/rustyscreeps/cargo-screeps/issues/29 then
Me too
Trying to run "cargo screeps build", I'm getting:
Adding
-Z unstable-options
doesn't help either:Rust version:
screeps.toml: