Skip to content

Commit 2f0f679

Browse files
committed
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.
1 parent 6ba963c commit 2f0f679

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[unstable]
2+
build-std = [ "core" ]
3+
4+
[build]
5+
target = "avr-unknown-gnu-atmega328"

0 commit comments

Comments
 (0)