Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-11896: [Rust] Disable Debug symbols on CI test builds #9653

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -66,6 +66,8 @@ jobs:
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
# do not produce debug symbols to keep memory usage down
export RUSTFLAGS="-C debuginfo=0"
cd rust
cargo build

Expand Down Expand Up @@ -108,6 +110,8 @@ jobs:
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
# do not produce debug symbols to keep memory usage down
export RUSTFLAGS="-C debuginfo=0"
cd rust
# run tests on all workspace members with default feature list
cargo test
Expand Down Expand Up @@ -162,6 +166,8 @@ jobs:
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
# do not produce debug symbols to keep memory usage down
export RUSTFLAGS="-C debuginfo=0"
cd rust/arrow
cargo test --features "simd"

Expand Down Expand Up @@ -388,5 +394,7 @@ jobs:
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
# do not produce debug symbols to keep memory usage down
export RUSTFLAGS="-C debuginfo=0"
cd rust/arrow
cargo build --target wasm32-unknown-unknown