mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Attempt 2 to fix release (#12856)
This commit is contained in:
@@ -88,8 +88,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Cargo build (Windows binaries)
|
- name: Cargo build (Windows binaries)
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
|
||||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/Gy' || '' }}
|
|
||||||
run: |
|
run: |
|
||||||
cargo build --target ${{ matrix.target }} --release --timings ${{ matrix.build_args }}
|
cargo build --target ${{ matrix.target }} --release --timings ${{ matrix.build_args }}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
[target.'cfg(all(windows, target_env = "msvc"))']
|
[target.'cfg(all(windows, target_env = "msvc"))']
|
||||||
rustflags = ["-C", "link-arg=/STACK:8388608"]
|
rustflags = [
|
||||||
|
"-C",
|
||||||
|
"link-arg=/STACK:8388608",
|
||||||
|
"-C",
|
||||||
|
"llvm-args=-function-sections",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(all(windows, target_env = "gnu"))']
|
[target.'cfg(all(windows, target_env = "gnu"))']
|
||||||
rustflags = ["-C", "link-arg=-Wl,--stack,8388608"]
|
rustflags = ["-C", "link-arg=-Wl,--stack,8388608"]
|
||||||
|
|||||||
Reference in New Issue
Block a user