diff options
| author | Dario Bartussek <[email protected]> | 2021-03-26 18:42:59 +0100 |
|---|---|---|
| committer | Dario Bartussek <[email protected]> | 2021-03-26 18:42:59 +0100 |
| commit | 2910e99c89eb10ccc3b8036a2975ae13302475d9 (patch) | |
| tree | cdcf3c32b6a0f24a8fcdf3c77073a880b9631c06 /compile.sh | |
| download | rust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.tar.xz rust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.zip | |
Basic example for compiling Rust for the 3DS as elf
Diffstat (limited to 'compile.sh')
| -rw-r--r-- | compile.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh new file mode 100644 index 0000000..065aba6 --- /dev/null +++ b/compile.sh @@ -0,0 +1,3 @@ +cargo fmt + +RUSTFLAGS="-C link-args=-T3dsx.ld -C link-args=-Map=3ds.map" cargo xbuild --target 3ds.json |