diff options
Diffstat (limited to 'cortex-m-rt/ci/script.sh')
-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 |