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.
$RUSTC_WRAPPER
rustc
1 parent e502d94 commit 3ac7cccCopy full SHA for 3ac7ccc
c2rust-refactor/src/lib.rs
@@ -391,6 +391,9 @@ pub fn lib_main(opts: Options) -> interface::Result<()> {
391
env::set_var("RUSTUP_TOOLCHAIN", toolchain_ver);
392
}
393
394
+ // If `$RUSTC_WRAPPER` is set, an extra `rustc` arg will be set, which we don't want.
395
+ env::remove_var("RUSTC_WRAPPER");
396
+
397
// Shut the compiler up while refactoring
398
let mut rustflags = env::var_os("RUSTFLAGS").unwrap_or_default();
399
rustflags.push(" -Awarnings");
0 commit comments