Open
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!