Update embedded-workshop-book/src/troubleshoot-cargo-build.md

Co-authored-by: James Munns <james.munns@ferrous-systems.com>
This commit is contained in:
Jorge Aparicio 2020-07-14 08:52:37 +00:00 committed by GitHub
parent 43619ea87f
commit cf2b5db798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,3 @@
# `cargo-build` fails to link
If you have configured Cargo to use sscache then you'll need to disable sscache 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.
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.