apache / apache/datafusion

Disable debug info by default in `dev` profile

Open
#17,701 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

I've had this as a local override for a while on my machine, but https://github.com/apache/datafusion/pull/17677 just reminded me about it.

Should we disable debug info (`debug = false`) by default in the `dev` profile? It significantly speeds up incremental builds.

Helpful context: https://kobzol.github.io/rust/rustc/2025/05/20/disable-debuginfo-to-improve-rust-compile-times.html

Contributor guide

Open the contributing guide

Research direction

Start by locating the repository configuration for the Rust `dev` profile and inspect how `debug` is currently set. Change the default to `debug = false`, then verify that the profile still works and that incremental builds use the updated setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, performance
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.