Lightweight coding agent that runs in your terminal
Rust
Attempt 2 to fix release (#12856)
pakrym-oaib65205fb3d9c
diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.ymlindex 589aa98719..85556bc8c9 100644--- a/.github/workflows/rust-release-windows.yml+++ b/.github/workflows/rust-release-windows.yml@@ -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 }}diff --git a/codex-rs/.cargo/config.toml b/codex-rs/.cargo/config.tomlindex f5107cf73e..7adeec500b 100644--- a/codex-rs/.cargo/config.toml+++ b/codex-rs/.cargo/config.toml@@ -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"]