Don't set rustflags in CLI
This commit is contained in:
1 file changed
+2
-2
@@ -84,8 +84,8 @@ impl BuildRequest {
|
|||||||
.current_dir(self.krate.crate_dir())
|
.current_dir(self.krate.crate_dir())
|
||||||
.arg("--message-format")
|
.arg("--message-format")
|
||||||
.arg("json-diagnostic-rendered-ansi")
|
.arg("json-diagnostic-rendered-ansi")
|
||||||
.args(self.build_arguments())
|
.args(self.build_arguments());
|
||||||
.env("RUSTFLAGS", self.rust_flags());
|
// .env("RUSTFLAGS", self.rust_flags());
|
||||||
|
|
||||||
if let Some(target_dir) = self.custom_target_dir.as_ref() {
|
if let Some(target_dir) = self.custom_target_dir.as_ref() {
|
||||||
cmd.env("CARGO_TARGET_DIR", target_dir);
|
cmd.env("CARGO_TARGET_DIR", target_dir);
|
||||||
|
|||||||
Reference in new issue
Block a user