Lightweight coding agent that runs in your terminal
Rust
Disable SQLite intrinsics for Windows x64 releases (#25490)
Eric Traut8b759b9c18f1
diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.ymlindex 088cb8a74c..3b4d3cfebf 100644--- a/.github/workflows/rust-release-windows.yml+++ b/.github/workflows/rust-release-windows.yml@@ -107,11 +107,15 @@ jobs:- name: Cargo build (Windows binaries)shell: bashrun: |+ target="${{ matrix.target }}"+ if [[ "$target" == "x86_64-pc-windows-msvc" ]]; then+ export LIBSQLITE3_FLAGS=SQLITE_DISABLE_INTRINSIC+ fibuild_args=()for binary in ${{ matrix.binaries }}; dobuild_args+=(--bin "$binary")done- cargo build --target ${{ matrix.target }} --release --timings "${build_args[@]}"+ cargo build --target "$target" --release --timings "${build_args[@]}"- name: Upload Cargo timingsuses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.ymlindex 07a2e87ef2..7b0a53cf14 100644--- a/.github/workflows/rust-release.yml+++ b/.github/workflows/rust-release.yml@@ -310,12 +310,16 @@ jobs:- name: Cargo buildshell: bashrun: |+ target="${{ matrix.target }}"+ if [[ "$target" == "x86_64-pc-windows-msvc" ]]; then+ export LIBSQLITE3_FLAGS=SQLITE_DISABLE_INTRINSIC+ fibuild_args=()for binary in ${{ matrix.binaries }}; dobuild_args+=(--bin "$binary")doneecho "CARGO_PROFILE_RELEASE_LTO: ${CARGO_PROFILE_RELEASE_LTO}"- cargo build --target ${{ matrix.target }} --release --timings "${build_args[@]}"+ cargo build --target "$target" --release --timings "${build_args[@]}"- name: Upload Cargo timingsuses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0