-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save target.json and linker script to target directory #1
Comments
In the |
I wasn't happy with duplicating these build files in each bin crate. And there's a dependency issue with the runtime The best case is that these are built into the compiler, but I'm no where near ready to support that kind of effort. So I ended up with this cargo wrapper to manage compiling, linking, and the minimal runtime. You can see from other tickets that |
you can still have the This is all necessary because, by the rules of |
I'm not planning to require a ... Unless you had another idea with |
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 N64 Rust project, but for sure in some common dependency. And it will dramatically improve many of the difficulties that we have now with building N64 ROMs. Things like, running an RSP assembler to build microcode, or build-time asset format conversions, etc. |
The
target.json
and linker script files are currently written to a temporary directory. These should be written to thetarget
directory instead. It should use a sub-directory like./target/cargo-n64
to keep thetarget
directory clean. The directory tree will have to be created if it does not exist.The text was updated successfully, but these errors were encountered: