diff --git a/src/main.rs b/src/main.rs index 4f57731..1f4fd46 100644 --- a/src/main.rs +++ b/src/main.rs @@ -109,14 +109,11 @@ fn check_rust_version() { } fn build_elf(args: std::iter::Skip) { - let rustflags = env::var("RUSTFLAGS").unwrap_or("".into()) - + "-C default-linker-libraries -Clink-arg=-z -Clink-arg=muldefs -Clink-arg=-D__3DS__"; + let rustflags = env::var("RUSTFLAGS").unwrap_or_default(); let mut process = Command::new("cargo") .arg("build") .arg("-Z") - .arg("unstable-options") - .arg("-Z") .arg("build-std") .arg("--target") .arg("armv6k-nintendo-3ds")