From 62b5ecbe8373a9d75dea00c62746b0cb1305f5d3 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 31 May 2022 17:18:51 +1000 Subject: [PATCH] Set `RUSTFLAGS` to `-Zstrip=symbols` in job `build` Signed-off-by: Jiahao XU --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9ff74d56..56541de6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -96,6 +96,8 @@ jobs: command: build args: --target ${{ matrix.target }} --release use-cross: ${{ matrix.use-cross }} + env: + RUSTFLAGS: -Zstrip=symbols - name: Copy and rename utility run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}