diff options
author | 2018-09-21 04:01:56 +0900 | |
---|---|---|
committer | 2018-09-21 04:01:56 +0900 | |
commit | 6aa0c0b5e00ece3d55ba9ee21d1d5afd9453d83d (patch) | |
tree | 35c54e745558b44fc783b5313bbdec0980e8dc64 | |
parent | d3a3c5b6770e05250a12bed06dc025a1ac2ee5d8 (diff) | |
download | cortex-m-6aa0c0b5e00ece3d55ba9ee21d1d5afd9453d83d.tar.gz cortex-m-6aa0c0b5e00ece3d55ba9ee21d1d5afd9453d83d.tar.zst cortex-m-6aa0c0b5e00ece3d55ba9ee21d1d5afd9453d83d.zip |
remove redundant option (2/2)
-rw-r--r-- | cortex-m-rt/ci/script.sh | 39 |
1 files changed, 12 insertions, 27 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh index 54ba430..9e4900b 100644 --- a/cortex-m-rt/ci/script.sh +++ b/cortex-m-rt/ci/script.sh @@ -35,52 +35,37 @@ main() { # linking with GNU LD for ex in "${examples[@]}"; do cargo rustc --target $TARGET --example $ex -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld cargo rustc --target $TARGET --example $ex --release -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld done for ex in "${fail_examples[@]}"; do ! cargo rustc --target $TARGET --example $ex -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld ! cargo rustc --target $TARGET --example $ex --release -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld done cargo rustc --target $TARGET --example device --features device -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld cargo rustc --target $TARGET --example device --features device --release -- \ - -C linker=arm-none-eabi-ld \ - #-C link-arg=-Tlink.x + -C linker=arm-none-eabi-ld # linking with rustc's LLD for ex in "${examples[@]}"; do - cargo rustc --target $TARGET --example $ex -- \ - #-C link-arg=-Tlink.x - - cargo rustc --target $TARGET --example $ex --release -- \ - #-C link-arg=-Tlink.x + cargo rustc --target $TARGET --example $ex + cargo rustc --target $TARGET --example $ex --release done for ex in "${fail_examples[@]}"; do - ! cargo rustc --target $TARGET --example $ex -- \ - #-C link-arg=-Tlink.x - - ! cargo rustc --target $TARGET --example $ex --release -- \ - #-C link-arg=-Tlink.x + ! cargo rustc --target $TARGET --example $ex + ! cargo rustc --target $TARGET --example $ex --release done - cargo rustc --target $TARGET --example device --features device -- \ - #-C link-arg=-Tlink.x - - cargo rustc --target $TARGET --example device --features device --release -- \ - #-C link-arg=-Tlink.x + cargo rustc --target $TARGET --example device --features device + cargo rustc --target $TARGET --example device --features device --release fi case $TARGET in |