mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
github: use /arm64hazardfree for aarch64 windows builds
This commit is contained in:
@@ -374,7 +374,7 @@ jobs:
|
||||
if: ${{ matrix.profile == 'release' && (matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'aarch64-pc-windows-msvc') }}
|
||||
shell: bash
|
||||
env:
|
||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/Gy' || '' }}
|
||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/arm64hazardfree' || '' }}
|
||||
run: |
|
||||
cargo build --target ${{ matrix.target }} --release --timings --bin codex --bin codex-responses-api-proxy
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ jobs:
|
||||
- name: Cargo build (Windows binaries)
|
||||
shell: bash
|
||||
env:
|
||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/Gy' || '' }}
|
||||
RUSTFLAGS: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '-C link-arg=/arm64hazardfree' || '' }}
|
||||
run: |
|
||||
cargo build --target ${{ matrix.target }} --release --timings ${{ matrix.build_args }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user