diff options
| author | Fenrir <[email protected]> | 2017-07-25 20:12:21 -0600 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2017-07-25 21:03:02 -0600 |
| commit | c159576e6d4a84e4958257f9b87ea9e06d4bbcb3 (patch) | |
| tree | e3014df2d64dcb842f4b7850d4f252f4b6a7708e /examples/.cargo | |
| parent | Merge pull request #36 from FenrirWolf/errDisp (diff) | |
| download | ctru-rs-c159576e6d4a84e4958257f9b87ea9e06d4bbcb3.tar.xz ctru-rs-c159576e6d4a84e4958257f9b87ea9e06d4bbcb3.zip | |
Add examples directory
Diffstat (limited to 'examples/.cargo')
| -rw-r--r-- | examples/.cargo/config | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/.cargo/config b/examples/.cargo/config new file mode 100644 index 0000000..d2c7139 --- /dev/null +++ b/examples/.cargo/config @@ -0,0 +1,15 @@ +[build] +target = "3ds" + +[target.3ds] +linker = "arm-none-eabi-gcc" +rustflags = [ + "-Clink-arg=-specs=3dsx.specs", + "-Clink-arg=-mfloat-abi=hard", + "-Clink-arg=-march=armv6k", + "-Clink-arg=-mtune=mpcore", + "-Clink-arg=-mfpu=vfp", + "-Clink-arg=-mtp=soft", + "-Clink-arg=-lsysbase", + "-Clink-arg=-lc" +] |