Skip to content

Commit c31ea5b

Browse files
authored
Use rustc from stage0 instead of stage0-sysroot (#602)
It contains the right LLVM libraries.
1 parent 193125a commit c31ea5b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/build-with-patched-std/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
python3 x.py build library --stage 0
4242
4343
TEMP_BUILD_OUTPUT=$(mktemp test-binary-XXXXXXXX)
44-
"$RUSTC_BUILD_DIR/stage0-sysroot/bin/rustc" $RUSTC_FLAGS "${{ inputs.main-rs }}" -o "$TEMP_BUILD_OUTPUT"
44+
"$RUSTC_BUILD_DIR/stage0/bin/rustc" $RUSTC_FLAGS "${{ inputs.main-rs }}" -o "$TEMP_BUILD_OUTPUT"
4545
BINARY_SIZE=$(stat -c '%s' "$TEMP_BUILD_OUTPUT")
4646
rm "$TEMP_BUILD_OUTPUT"
4747

.github/workflows/check-binary-size.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ name: Check binary size
66

77
on:
88
pull_request_target:
9-
# HACK(jubilee): something broke the distributed LLVM libso and I don't know what.
10-
branches: []
11-
# - master
9+
branches:
10+
- master
1211

1312
# Both the "measure" and "report" jobs need to know this.
1413
env:

0 commit comments

Comments
 (0)