We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo rustc --print
unstable-options
1 parent 132a2a0 commit 0f7b85aCopy full SHA for 0f7b85a
crates/project-model/src/toolchain_info/rustc_cfg.rs
@@ -66,7 +66,7 @@ fn rustc_print_cfg(
66
QueryConfig::Cargo(sysroot, cargo_toml) => {
67
let mut cmd = sysroot.tool(Tool::Cargo, cargo_toml.parent());
68
cmd.envs(extra_env);
69
- cmd.args(["rustc"]).args(RUSTC_ARGS);
+ cmd.args(["rustc", "-Z", "unstable-options"]).args(RUSTC_ARGS);
70
if let Some(target) = target {
71
cmd.args(["--target", target]);
72
}
0 commit comments