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 fa71da9 commit 5f117b4Copy full SHA for 5f117b4
src/tools/rust-analyzer/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