diff options
author | 2025-01-24 21:35:55 +0100 | |
---|---|---|
committer | 2025-01-24 21:35:55 +0100 | |
commit | bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83 (patch) | |
tree | ae6209b2731c726fdbd999736476474869c9ee49 /.cargo | |
download | dumbswitch-bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83.tar.gz dumbswitch-bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83.tar.bz2 dumbswitch-bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83.tar.lz dumbswitch-bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83.zip |
feat: initial it works
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..eea2f9e --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,17 @@ +[target.riscv32imc-unknown-none-elf] +runner = "espflash flash --monitor" + +[env] +ESP_LOG="INFO" + +[build] +rustflags = [ + # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.) + # NOTE: May negatively impact performance of produced code + "-C", "force-frame-pointers", +] + +target = "riscv32imc-unknown-none-elf" + +[unstable] +build-std = ["alloc", "core"] |