-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
I'm attempting to link in a Nintendo 64 SDK static library (libnusys.a), but the Rust linker errors out:
rust-lld: error: lto.tmp: ABI 'o32' is incompatible with target ABI 'n64'
Do you think I ought be producing o32 ABI binaries instead of n64 ones to match the static library? I'm curious what you make of this.
Here's my build.rs:
fn main() {
println!("cargo:rustc-link-lib=static=nusys");
println!("cargo:rustc-link-search=native=/path/to/n64kit/nusys/lib");
}
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested