File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5050 with :
5151 target : ${{ matrix.target }}
5252 profile : minimal
53+ components : rust-src
5354
5455 - name : Install additional toolchains
5556 if : ${{ matrix.os == 'ubuntu-latest' && matrix.extra_toolchain != '' }}
7071 uses : actions-rs/cargo@v1
7172 with :
7273 command : build
73- args : --target ${{ matrix.target }} --release
74+ args : >-
75+ --target ${{ matrix.target }}
76+ --release
77+ -Z build-std=std,panic_abort
78+ -Z build-std-features=panic_immediate_abort
7479
7580 - name : Strip binary
7681 run : |
Original file line number Diff line number Diff line change 22
33## v0.6.0 (unreleased)
44
5- - Reduce binary size by over 70% .
5+ - Reduce binary size significantly .
66
77## v0.5.4 (2022-08-30)
88
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ rstest = "0.15.0"
2626
2727[profile .release ]
2828lto = true
29+ panic = " abort"
30+ opt-level = " z"
2931
3032[workspace ]
3133members = [" ." , " ./testtools" ]
You can’t perform that action at this time.
0 commit comments