From 25d4713ad221ce25c0284331ee442a3e2c744bfa Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Tue, 4 Jan 2022 21:05:32 -0800 Subject: [PATCH] Remove RUSTFLAGS handling Now that we don't add any flags, we don't need to explicitly pass it through. --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index a96e4f5..d1a8e59 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,8 +111,6 @@ fn check_rust_version() { } fn build_elf(args: std::iter::Skip) { - let rustflags = env::var("RUSTFLAGS").unwrap_or_default(); - let mut process = Command::new("cargo") .arg("build") .arg("-Z") @@ -120,7 +118,6 @@ fn build_elf(args: std::iter::Skip) { .arg("--target") .arg("armv6k-nintendo-3ds") .args(args) - .env("RUSTFLAGS", rustflags) .stdin(Stdio::inherit()) .stdout(Stdio::inherit()) .stderr(Stdio::inherit())