From 3e51784486c24690db9427d6959ad8c795b24f59 Mon Sep 17 00:00:00 2001 From: Jason Heeris Date: Mon, 10 Jul 2023 13:23:13 +0800 Subject: [PATCH] Omit copying patched std build output for checking binary size in CI. This is now done by the bootstrapping process. See rust-lang/rust#113341. --- .github/workflows/check-binary-size.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/check-binary-size.yml b/.github/workflows/check-binary-size.yml index 5104b6d88..0beae1da9 100644 --- a/.github/workflows/check-binary-size.yml +++ b/.github/workflows/check-binary-size.yml @@ -39,8 +39,6 @@ jobs: cd ../.. git add library/backtrace python3 x.py build library --stage 0 - cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin - cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-reference - name: Build binary with PR version of backtrace run: | @@ -50,8 +48,6 @@ jobs: git add library/backtrace rm -rf build/x86_64-unknown-linux-gnu/stage0-std python3 x.py build library --stage 0 - cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin - cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-updated - name: Display binary size run: |