From c3c1c97dd394c788fa8d5acf1325385fc444dbca Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 31 May 2022 17:31:59 +1000 Subject: [PATCH] Set `RUSTFLAGS` to `-Cstrip=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..d80cdd3c 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: -Cstrip=symbols - name: Copy and rename utility run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}