Skip to content

Commit 3059f62

Browse files
committed
thin lto
1 parent eff41c2 commit 3059f62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ jobs:
166166
mkdir .cargo
167167
cat > .cargo/config.toml <<EOF
168168
[target.${{ matrix.config.target }}]
169-
rustflags = ["-Ctarget-cpu=generic", "-Clto", "-Cembed-bitcode=yes"]
169+
rustflags = ["-Ctarget-cpu=generic", "-Cembed-bitcode=yes"]
170+
[profile.release]
171+
lto = "thin"
170172
EOF
171173
172174
- if: ${{ matrix.cross }}

0 commit comments

Comments
 (0)