|
|
@ -125,7 +125,7 @@ fn check_rust_version() { |
|
|
|
|
|
|
|
|
|
|
|
fn build_elf(args: &[&str]) { |
|
|
|
fn build_elf(args: &[&str]) { |
|
|
|
let rustflags = env::var("RUSTFLAGS").unwrap_or_default() |
|
|
|
let rustflags = env::var("RUSTFLAGS").unwrap_or_default() |
|
|
|
+ &format!(" -L{}/libctru/lib -lctru ", env::var("DEVKITPRO").unwrap()); |
|
|
|
+ &format!(" -L{}/libctru/lib -lctru", env::var("DEVKITPRO").unwrap()); |
|
|
|
|
|
|
|
|
|
|
|
let mut process = Command::new("cargo") |
|
|
|
let mut process = Command::new("cargo") |
|
|
|
.arg("build") |
|
|
|
.arg("build") |
|
|
|