hide the thumbv* target files
due to how Cargo works, the rustc-cfg in build.rs was picking our target specifications rather than the one the user meant to use. Placing our target files in any place other than the root of the Cargo project avoids the issue.
This commit is contained in:
parent
dd34b80ea0
commit
e4997a2026
5 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@ set -e
|
|||
# Test our implementation
|
||||
case $1 in
|
||||
thumb*)
|
||||
export RUST_TARGET_PATH=/checkout/targets
|
||||
|
||||
xargo build --target $1
|
||||
xargo build --target $1 --release
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue