Set RUSTFLAGS to -Zstrip=symbols in job build

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-05-31 17:18:51 +10:00
parent c989ed0823
commit 62b5ecbe83
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -96,6 +96,8 @@ jobs:
command: build command: build
args: --target ${{ matrix.target }} --release args: --target ${{ matrix.target }} --release
use-cross: ${{ matrix.use-cross }} use-cross: ${{ matrix.use-cross }}
env:
RUSTFLAGS: -Zstrip=symbols
- name: Copy and rename utility - name: Copy and rename utility
run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }} run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}