mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
Attempt 2 to fix release (#12856)
This commit is contained in:
2
.github/workflows/rust-release-windows.yml
vendored
2
.github/workflows/rust-release-windows.yml
vendored
@@ -88,8 +88,6 @@ jobs:
|
||||
|
||||
- name: Cargo build (Windows binaries)
|
||||
shell: bash
|
||||
env:
|
||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/Gy' || '' }}
|
||||
run: |
|
||||
cargo build --target ${{ matrix.target }} --release --timings ${{ matrix.build_args }}
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
[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"))']
|
||||
rustflags = ["-C", "link-arg=-Wl,--stack,8388608"]
|
||||
|
||||
Reference in New Issue
Block a user