embedded-trainings-2020/embedded-workshop-book/src/troubleshoot-cargo-build.md

4 lines
326 B
Markdown
Raw Permalink Normal View History

2020-07-13 15:41:37 +00:00
# `cargo-build` fails to link
If you have configured Cargo to use sccache then you'll need to disable sccache support. Unset the `RUSTC_WRAPPER` variable in your environment *before* opening VS code. Run `cargo clean` from the Cargo workspace you are working from (`beginner/apps` or `advanced/firmware`). Then open VS code.