aboutsummaryrefslogtreecommitdiff
path: root/examples/.cargo
diff options
context:
space:
mode:
authorFenrir <[email protected]>2017-07-25 20:12:21 -0600
committerFenrir <[email protected]>2017-07-25 21:03:02 -0600
commitc159576e6d4a84e4958257f9b87ea9e06d4bbcb3 (patch)
treee3014df2d64dcb842f4b7850d4f252f4b6a7708e /examples/.cargo
parentMerge pull request #36 from FenrirWolf/errDisp (diff)
downloadctru-rs-c159576e6d4a84e4958257f9b87ea9e06d4bbcb3.tar.xz
ctru-rs-c159576e6d4a84e4958257f9b87ea9e06d4bbcb3.zip
Add examples directory
Diffstat (limited to 'examples/.cargo')
-rw-r--r--examples/.cargo/config15
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"
+]