From 16fc3558436cabebf1baefbb1bb5ec152b9d04bc Mon Sep 17 00:00:00 2001 From: Sainnhe Park Date: Wed, 1 Dec 2021 15:36:18 +0800 Subject: [PATCH] Update project settings --- .cargo/config | 2 ++ rust-toolchain.toml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .cargo/config create mode 100644 rust-toolchain.toml diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..5d10902 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[build] +target = "thumbv7em-none-eabihf" diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..39d1ac5 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,6 @@ +[toolchain] +channel = "nightly" +components = [ "rust-analyzer-preview" ] +targets = [ "thumbv7em-none-eabihf" ] +profile = "minimal" +