Browse Source

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.
Jorge Aparicio 8 years ago
parent
commit
0827f8c7f1

+ 2 - 0
ci/run.sh

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

+ 0 - 0
thumbv6m-none-eabi.json → targets/thumbv6m-none-eabi.json


+ 0 - 0
thumbv7em-none-eabi.json → targets/thumbv7em-none-eabi.json


+ 0 - 0
thumbv7em-none-eabihf.json → targets/thumbv7em-none-eabihf.json


+ 0 - 0
thumbv7m-none-eabi.json → targets/thumbv7m-none-eabi.json