Don't set rustflags in CLI

This commit is contained in:
Jonathan Kelley committed 2024-10-29 17:02:14 -07:00
1 parent 5f34822a66
commit c487071cfd
1 file changed
+2 -2
+2 -2
View File
@@ -84,8 +84,8 @@ impl BuildRequest {
.current_dir(self.krate.crate_dir())
.arg("--message-format")
.arg("json-diagnostic-rendered-ansi")
.args(self.build_arguments())
.env("RUSTFLAGS", self.rust_flags());
.args(self.build_arguments());
// .env("RUSTFLAGS", self.rust_flags());
if let Some(target_dir) = self.custom_target_dir.as_ref() {
cmd.env("CARGO_TARGET_DIR", target_dir);