Skip to content

Apache DataFusion SQL Query Engine

ci: speed up win64 test (#8728)

Jeffrey Vo428973732b14
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 622521a6fb..e2faa75e7b 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -310,11 +310,10 @@ jobs:
cd datafusion-cli
cargo test --lib --tests --bins --all-features
env:
- # do not produce debug symbols to keep memory usage down
- # use higher optimization level to overcome Windows rust slowness for tpc-ds
- # and speed builds: https://github.com/apache/arrow-datafusion/issues/8696
- # Cargo profile docs https://doc.rust-lang.org/cargo/reference/profiles.html?profile-settings#profile-settings
- RUSTFLAGS: "-C debuginfo=0 -C opt-level=1 -C target-feature=+crt-static -C incremental=false -C codegen-units=256"
+ # Minimize producing debug symbols to keep memory usage down
+ # Set debuginfo=line-tables-only as debuginfo=0 causes immensely slow build
+ # See for more details: https://github.com/rust-lang/rust/issues/119560
+ RUSTFLAGS: "-C debuginfo=line-tables-only"
RUST_BACKTRACE: "1"
# avoid rust stack overflows on tpc-ds tests
RUST_MINSTACK: "3000000"