Преглед на файлове

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 години
родител
ревизия
0827f8c7f1
променени са 5 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      ci/run.sh
  2. 0 0
      targets/thumbv6m-none-eabi.json
  3. 0 0
      targets/thumbv7em-none-eabi.json
  4. 0 0
      targets/thumbv7em-none-eabihf.json
  5. 0 0
      targets/thumbv7m-none-eabi.json

+ 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