fix(duckdb): preserve static CRT in Windows CI
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -457,6 +457,9 @@ jobs:
|
|||||||
- name: Build DuckDB native driver
|
- name: Build DuckDB native driver
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
|
export RUSTFLAGS="${RUSTFLAGS:+$RUSTFLAGS }-C target-feature=+crt-static"
|
||||||
|
fi
|
||||||
if [ -n "${{ matrix.manylinux_image }}" ]; then
|
if [ -n "${{ matrix.manylinux_image }}" ]; then
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--user "$(id -u):$(id -g)" \
|
--user "$(id -u):$(id -g)" \
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
CARGO_TARGET_DIR: ${{ github.workspace }}/target/duckdb-driver
|
CARGO_TARGET_DIR: ${{ github.workspace }}/target/duckdb-driver
|
||||||
|
RUSTFLAGS: -C debuginfo=line-tables-only -C target-feature=+crt-static
|
||||||
RUSTC_WRAPPER: sccache
|
RUSTC_WRAPPER: sccache
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
|||||||
Reference in new issue
Block a user