Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc6caa0

Browse files
committedJul 6, 2023
Revert "Use opt-level=3"
This reverts commit d810317.
1 parent 923e090 commit cc6caa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python3 x.py build library --stage 0
4242
cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin
4343
cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib
44-
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -Copt-level=3 foo.rs -o binary-reference
44+
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-reference
4545
- name: Build binary with PR version of backtrace
4646
run: |
4747
cd library/backtrace
@@ -52,7 +52,7 @@ jobs:
5252
python3 x.py build library --stage 0
5353
cp -r ./build/x86_64-unknown-linux-gnu/stage0/bin ./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin
5454
cp -r ./build/x86_64-unknown-linux-gnu/stage0/lib/*.so ./build/x86_64-unknown-linux-gnu/stage0-sysroot/lib
55-
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -Copt-level=3 foo.rs -o binary-updated
55+
./build/x86_64-unknown-linux-gnu/stage0-sysroot/bin/rustc -O foo.rs -o binary-updated
5656
- name: Display binary size
5757
run: |
5858
ls -la binary-*

0 commit comments

Comments
 (0)
Please sign in to comment.