Skip to content

Commit 034a437

Browse files
committed
Add location-detail=none to std rust flags
1 parent 5438b01 commit 034a437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
RUSTC_BOOTSTRAP: 1
6565
# This is required by compiler-builtins
6666
RUSTC_SRC: ${{ steps.rust-src.outputs.path }}
67-
RUSTFLAGS: "-C panic=abort -C opt-level=s -C llvm-args=--inline-threshold=225 -C codegen-units=1"
67+
RUSTFLAGS: "-C panic=abort -C opt-level=s -C llvm-args=--inline-threshold=225 -C codegen-units=1 -Zlocation-detail=none"
6868
IPHONEOS_DEPLOYMENT_TARGET: "14.0"
6969
run: |
7070
cd ${RUSTC_SRC}/library/std
@@ -79,7 +79,7 @@ jobs:
7979
env:
8080
RUSTC_BOOTSTRAP: 1
8181
RUSTC_SRC: ${{ steps.rust-src.outputs.path }}
82-
RUSTFLAGS: "-C panic=abort -C opt-level=s -C llvm-args=--inline-threshold=225 -C codegen-units=1"
82+
RUSTFLAGS: "-C panic=abort -C opt-level=s -C llvm-args=--inline-threshold=225 -C codegen-units=1 -Zlocation-detail=none"
8383
run: |
8484
cd ${RUSTC_SRC}/library/std
8585
# Set the path pointing to the NDK where all the cross-compiling clang binaries exist

0 commit comments

Comments
 (0)