diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2020-04-29 15:30:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-29 15:30:10 -0500 |
| commit | 0e69cc88170728c053a9845730eec6eaaf89531d (patch) | |
| tree | 199f26752f6bb31c7576e24ba9a1083a02f554cf /library/compiler-builtins/ci/run.sh | |
| parent | 67ec7e4ccf5b3d04d31a01a95f8e4ca9c5f87733 (diff) | |
| download | rust-0e69cc88170728c053a9845730eec6eaaf89531d.tar.gz rust-0e69cc88170728c053a9845730eec6eaaf89531d.zip | |
Switch to using `llvm_asm!` instead of `asm!` (#351)
* Switch to using `llvm_asm!` instead of `asm!` * Run rustfmt * Fix how LTO is specified on nightly
Diffstat (limited to 'library/compiler-builtins/ci/run.sh')
| -rwxr-xr-x | library/compiler-builtins/ci/run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/compiler-builtins/ci/run.sh b/library/compiler-builtins/ci/run.sh index ae32806ece8..c4cc6813d59 100755 --- a/library/compiler-builtins/ci/run.sh +++ b/library/compiler-builtins/ci/run.sh @@ -85,9 +85,11 @@ RUSTFLAGS="-C debug-assertions=no" $build_intrinsics --features c --release if [ -z "$DEBUG_LTO_BUILD_DOESNT_WORK" ]; then RUSTFLAGS="-C debug-assertions=no" \ CARGO_INCREMENTAL=0 \ - $cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics -- -C lto + CARGO_PROFILE_DEV_LTO=true \ + $cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics fi -$cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics --release -- -C lto +CARGO_PROFILE_RELEASE_LTO=true \ + $cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics --release # Ensure no references to a panicking function for rlib in $(echo $path); do |
