This is an automated email from the ASF dual-hosted git repository.

comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 428973732b ci: speed up win64 test (#8728)
428973732b is described below

commit 428973732b14055971604204bf3dcd605120b3dd
Author: Jeffrey Vo <[email protected]>
AuthorDate: Sun Jan 7 06:29:44 2024 +1100

    ci: speed up win64 test (#8728)
---
 .github/workflows/rust.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

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"

Reply via email to