diff options
Diffstat (limited to 'filamento/.cargo/config.toml')
-rw-r--r-- | filamento/.cargo/config.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/filamento/.cargo/config.toml b/filamento/.cargo/config.toml new file mode 100644 index 0000000..319101a --- /dev/null +++ b/filamento/.cargo/config.toml @@ -0,0 +1,19 @@ +[build] +rustflags = [ + # LLD (shipped with the Rust toolchain) is used as the default linker + # "-C", "link-arg=-Tlink.x", + + # if you run into problems with LLD switch to the GNU linker by commenting out + # this line + # "-C", "linker=arm-none-eabi-ld", + + # if you need to link to pre-compiled C libraries provided by a C toolchain + # use GCC as the linker by commenting out both lines above and then + # uncommenting the three lines below + "-C", + "target-feature=+atomics,+bulk-memory,+mutable-globals", +] + +[unstable] +build-std = ["std", "panic_abort"] + |