-
I've been trying to get a minimal example building and have hit a wall trying to get the final project to link together. But I'm compiling with recently nightly, have pulled in [build]
target = "avr-unknown-gnu-atmega328"
[unstable]
build-std = ["core", "compiler_builtins"]
However, despite all this, I'm getting errors on build with
Is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, what exactly are you trying to do? Are you just interested in getting Rust on AVR running? Then please check out the guide in the README of this project: Quickstart. It links you to a project template that has everything set up correctly already. If you are specifically trying to get That out of the way, a few technical comments about your question. You can ignore them if you are just starting out...
|
Beta Was this translation helpful? Give feedback.
Hi, what exactly are you trying to do? Are you just interested in getting Rust on AVR running? Then please check out the guide in the README of this project: Quickstart. It links you to a project template that has everything set up correctly already.
If you are specifically trying to get
avr-std-stub
working, maybe you need to tell me more about the reasons...That out of the way, a few technical comments about your question. You can ignore them if you are just starting out...
avr-std-stub
is not needed on new rustc versions. The panic handler can either be pulled in from one of the existing implementations likepanic-halt
or any of the otherpanic-*
crates. Or you can define it yoursel…