Ok, I did originally do those link commands. But when I ran the
rustc --print target-list I forgot to prepend the
rustup run avr-toolchain. So I tracked all that down, and the target is installed correctly.
However, it still gives me an error when I try to compile the blink program via the instructions in the readme. The error I get is
XARGO_RUST_SRC=/home/ryan/programming/avr/build/build/x86_64-unknown-linux-gnu/stage1 rustup run avr-toolchain xargo build --target avr-atmega328p
Compiling arduino v0.1.0
error: Error loading target specification: Could not find specification for target "avr-atmega328p"
= help: Use `--print target-list` for a list of built-in targets
error: Could not compile `arduino`.
To learn more, run the command again with --verbose.
I see in the blink directory there is a avr-atmega328p.json file. Now I think my root problem may actually be with Xargo.
cargo 0.24.0 (45043115c 2017-12-05)
I think I’ll move future questions for this problem to the gitter channel. Thanks so much for you help so far.