rust-embedded / discovery-mb2

Rust Discovery Book for BBC micro::bit v2
Apache License 2.0
5 stars 3 forks source link

fix for error: no bin target named `spin-wait` #6

Closed mr-threepwood closed 1 month ago

mr-threepwood commented 1 month ago

Disclaimer: I am not certain whether this is actually an issue or simply my incapacity to properly follow the guide. :sweat_smile:

In the subsection 06-hello-world/spin-wait trying to execute cargo run --release --bin spin-wait failed:

error: no bin target named `spin-wait`. Available bin targets: hello-world

However, the execution with the flag --example instead of --bin works.