Skip to content

Commit 1ddcd05

Browse files
committed
Commens
1 parent a50b089 commit 1ddcd05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
# do not produce debug symbols to keep memory usage down
104104
# hardcoding other profile params to avoid profile override values
105105
# More on Cargo profiles https://doc.rust-lang.org/cargo/reference/profiles.html?profile-settings#profile-settings
106-
RUSTFLAGS: "-C debuginfo=line-tables-only -C opt-level=0 -C incremental=false -C codegen-units=256"
106+
RUSTFLAGS: "-C debuginfo=0 -C opt-level=0 -C incremental=false -C codegen-units=256"
107107
RUST_BACKTRACE: "1"
108108
# avoid rust stack overflows on tpc-ds tests
109109
RUST_MINSTACK: "3000000"
@@ -314,6 +314,8 @@ jobs:
314314
# use higher optimization level to overcome Windows rust slowness for tpc-ds
315315
# and speed builds: https://github.com/apache/arrow-datafusion/issues/8696
316316
# Cargo profile docs https://doc.rust-lang.org/cargo/reference/profiles.html?profile-settings#profile-settings
317+
# Set debuginfo=line-tables-only as debuginfo=0 causes immensely slow build
318+
# See for more details: https://github.com/rust-lang/rust/issues/119560
317319
RUSTFLAGS: "-C debuginfo=line-tables-only -C opt-level=1 -C target-feature=+crt-static -C incremental=false -C codegen-units=256"
318320
RUST_BACKTRACE: "1"
319321
# avoid rust stack overflows on tpc-ds tests
@@ -354,7 +356,7 @@ jobs:
354356
# do not produce debug symbols to keep memory usage down
355357
# hardcoding other profile params to avoid profile override values
356358
# More on Cargo profiles https://doc.rust-lang.org/cargo/reference/profiles.html?profile-settings#profile-settings
357-
RUSTFLAGS: "-C debuginfo=line-tables-only -C opt-level=0 -C incremental=false -C codegen-units=256"
359+
RUSTFLAGS: "-C debuginfo=0 -C opt-level=0 -C incremental=false -C codegen-units=256"
358360
RUST_BACKTRACE: "1"
359361
# avoid rust stack overflows on tpc-ds tests
360362
RUST_MINSTACK: "3000000"

0 commit comments

Comments
 (0)