From 2f0f679c22212933791f298f39f8c1fb450afabb Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Sat, 11 Jun 2022 06:18:05 -0600 Subject: [PATCH] Set reasonable defaults for cargo config This sets `build-std=core` by default and uses the atmega328p as the default target. Users will still need to specify alternate targets if desired, but it makes the build process much easier for a default case. --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..be8c515 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[unstable] +build-std = [ "core" ] + +[build] +target = "avr-unknown-gnu-atmega328"