diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml index 7673422317bc..2cd060db7ab6 100644 --- a/.github/workflows/release_cli.yml +++ b/.github/workflows/release_cli.yml @@ -126,7 +126,7 @@ jobs: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc # Strip all debug symbols from the resulting binaries - RUSTFLAGS: "-C strip=symbols" + RUSTFLAGS: "-C strip=symbols -C codegen-units=1" # Inline the version of the npm package in the CLI binary BIOME_VERSION: ${{ env.version }} diff --git a/.github/workflows/release_knope.yml b/.github/workflows/release_knope.yml index 18f82741e5b1..86ffbd67eaaa 100644 --- a/.github/workflows/release_knope.yml +++ b/.github/workflows/release_knope.yml @@ -113,7 +113,7 @@ jobs: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc # Strip all debug symbols from the resulting binaries - RUSTFLAGS: "-C strip=symbols" + RUSTFLAGS: "-C strip=symbols -C codegen-units=1" # Inline the version of the npm package in the CLI binary BIOME_VERSION: ${{ env.version }}