Jay Oster
Jay Oster
Clippy is pretty unhappy with this one. We have a couple of options: 1. Add `#[cfg(target_vendor = "nintendo64")]` in a lot of places. [Like this.](https://github.com/rust-console/rrt0/blob/01e2be83359e6cd1dda02ca46427393f9f6ac7d8/src/platforms.rs#L7) 2. Split the N64 code...
Is this ready for review?
@kskjer FWIW the Nintendo64 target compiles with static relocation model to workaround problems I had with the global pointer: https://github.com/rust-console/cargo-n64/blob/51a0c8183c6059da9ebe71ed0042d573c7b2dd7d/cargo-n64/src/templates/mips-nintendo64-none.fmt#L19 https://github.com/rust-console/cargo-n64/blob/51a0c8183c6059da9ebe71ed0042d573c7b2dd7d/cargo-n64/src/templates/linker.ld#L40-L45 I suspect `libc` and `libm` need to be compiled...
That's really cool! Thanks for sharing the link. I see you also have some other interesting stuff floating around in there... I am also interested in experimenting with [drone](https://www.drone-os.com/). I...
I wasn't happy with duplicating these build files in each bin crate. And there's a dependency issue with the runtime [`rrt0`](https://github.com/rust-console/rrt0) requiring specific symbols defined by the linker script. The...
I'm not planning to require a `build.rs` for the various bin crates (e.g. N64 games). For the same reason I don't want to require copying the target.json and linker script...
Now that I've come back to this, it probably does make sense to include a "common" build script somewhere. I'm still not convinced that it should be copy-pasta into every...
@command-tab You can build with `cargo n64 build -vv` to get verbose output, this will print the linker command (the last command)... You can then copy-paste that huge command ad...
You are linking against nusys. Personally I've never tried this! Don't know what to expect. But I believe that https://github.com/rust-lang/cargo/pull/8066 has given us some trouble recently, and you might be...
@command-tab I found today that `cargo-n64` builds with the `o32` ABI because of the LLVM features selected. Switch to `n64` ABI with the following patch: ```patch diff --git a/cargo-n64/src/templates/mips-nintendo64-none.fmt b/cargo-n64/src/templates/mips-nintendo64-none.fmt...