Skip to content

Commit 4289737

Browse files
authored
ci: speed up win64 test (#8728)
1 parent 40c674b commit 4289737

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,10 @@ jobs:
310310
cd datafusion-cli
311311
cargo test --lib --tests --bins --all-features
312312
env:
313-
# do not produce debug symbols to keep memory usage down
314-
# use higher optimization level to overcome Windows rust slowness for tpc-ds
315-
# and speed builds: https://github.com/apache/arrow-datafusion/issues/8696
316-
# Cargo profile docs https://doc.rust-lang.org/cargo/reference/profiles.html?profile-settings#profile-settings
317-
RUSTFLAGS: "-C debuginfo=0 -C opt-level=1 -C target-feature=+crt-static -C incremental=false -C codegen-units=256"
313+
# Minimize producing debug symbols to keep memory usage down
314+
# Set debuginfo=line-tables-only as debuginfo=0 causes immensely slow build
315+
# See for more details: https://github.com/rust-lang/rust/issues/119560
316+
RUSTFLAGS: "-C debuginfo=line-tables-only"
318317
RUST_BACKTRACE: "1"
319318
# avoid rust stack overflows on tpc-ds tests
320319
RUST_MINSTACK: "3000000"

0 commit comments

Comments
 (0)