Browse Source

Remove RUSTFLAGS handling

Now that we don't add any flags, we don't need to explicitly pass it
through.
pull/4/head
AzureMarker 3 years ago
parent
commit
25d4713ad2
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 3
      src/main.rs

3
src/main.rs

@ -111,8 +111,6 @@ fn check_rust_version() { @@ -111,8 +111,6 @@ fn check_rust_version() {
}
fn build_elf(args: std::iter::Skip<env::Args>) {
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<env::Args>) { @@ -120,7 +118,6 @@ fn build_elf(args: std::iter::Skip<env::Args>) {
.arg("--target")
.arg("armv6k-nintendo-3ds")
.args(args)
.env("RUSTFLAGS", rustflags)
.stdin(Stdio::inherit())
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())

Loading…
Cancel
Save