[build] target = "mips-nintendo64-none.json" [unstable] build-std = ["core", "alloc"] # Current nightly requires opting in to .json custom target specs. json-target-spec = true [target.mips-nintendo64-none] # LTO now lives in [profile.release] (lto = "fat") instead of -Clinker-plugin-lto. The static, # non-PIC codegen is driven by "features": "+noabicalls" in mips-nintendo64-none.json. rustflags = [] # runner specifies a program that cargo automatically executes after compiling (using the 'cargo run' command). # Cargo will append this command with the path to the ELF file, so make sure the command ends with '--elf'. runner = "nust64 --elf"