Skip to content

Commit 89b2ccd

Browse files
authored
Omit copying patched std build output for checking binary size in CI. (rust-lang/backtrace#550)
This is now done by the bootstrapping process. See rust-lang/rust#113341.
1 parent f3af31c commit 89b2ccd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

-4
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
cd ../..
4040
git add library/backtrace
4141
python3 x.py build library --stage 0
42-
cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin
43-
cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib
4442
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-reference
4543
- name: Build binary with PR version of backtrace
4644
run: |
@@ -50,8 +48,6 @@ jobs:
5048
git add library/backtrace
5149
rm -rf build/x86_64-unknown-linux-gnu/stage0-std
5250
python3 x.py build library --stage 0
53-
cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin
54-
cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib
5551
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-updated
5652
- name: Display binary size
5753
run: |

0 commit comments

Comments
 (0)