Skip to content

Compiling rust-horizon on Windows #6

Answered by Meziu
nemui asked this question in Q&A
Discussion options

You must be logged in to vote

Right now no branch is fully usable, as we are preparing to push our changes to Rust’s master branch (which would make building much easier).

Still, if you want to try horizon-std with the examples we have in ctru-rs you will need to install the full 3ds-dev module from devkitPRO’s toolchain and build the stage2 rustc compiler (from rust-horizon). At that point you should add the rustc keyword (under the [build] category) in the .cargo/config.toml file and set it to the custom rustc you just built. Then you can use our cargo-3ds tool like a normal cargo tool and you are good to go.

Since neither our std, nor cargo-3ds, nor ctru-rs are released, the process is very cumbersome and requires …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nemui
Comment options

@Meziu
Comment options

@AzureMarker
Comment options

@AzureMarker
Comment options

Answer selected by nemui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants