fix: cargo rustc --print
needs unstable-options
This commit is contained in:
parent
fa71da9ff0
commit
5f117b4591
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ fn rustc_print_cfg(
|
|||
QueryConfig::Cargo(sysroot, cargo_toml) => {
|
||||
let mut cmd = sysroot.tool(Tool::Cargo, cargo_toml.parent());
|
||||
cmd.envs(extra_env);
|
||||
cmd.args(["rustc"]).args(RUSTC_ARGS);
|
||||
cmd.args(["rustc", "-Z", "unstable-options"]).args(RUSTC_ARGS);
|
||||
if let Some(target) = target {
|
||||
cmd.args(["--target", target]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue