Skip to content

Commit

Permalink
Use rustc from stage0 instead of stage0-sysroot (#602)
Browse files Browse the repository at this point in the history
It contains the right LLVM libraries.
  • Loading branch information
Noratrieb authored Mar 22, 2024
1 parent 193125a commit c31ea5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-with-patched-std/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
python3 x.py build library --stage 0
TEMP_BUILD_OUTPUT=$(mktemp test-binary-XXXXXXXX)
"$RUSTC_BUILD_DIR/stage0-sysroot/bin/rustc" $RUSTC_FLAGS "${{ inputs.main-rs }}" -o "$TEMP_BUILD_OUTPUT"
"$RUSTC_BUILD_DIR/stage0/bin/rustc" $RUSTC_FLAGS "${{ inputs.main-rs }}" -o "$TEMP_BUILD_OUTPUT"
BINARY_SIZE=$(stat -c '%s' "$TEMP_BUILD_OUTPUT")
rm "$TEMP_BUILD_OUTPUT"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/check-binary-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ name: Check binary size

on:
pull_request_target:
# HACK(jubilee): something broke the distributed LLVM libso and I don't know what.
branches: []
# - master
branches:
- master

# Both the "measure" and "report" jobs need to know this.
env:
Expand Down

0 comments on commit c31ea5b

Please sign in to comment.