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:
Jorge Aparicio 2016-10-02 19:05:01 -05:00
parent 89ebc46f37
commit 0827f8c7f1
5 changed files with 2 additions and 0 deletions

View File

@ -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
;;