-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
The current documentation for the debuginfo options looks like this:
# Whether or not debuginfo is emitted
#debuginfo = false
# Whether or not line number debug information is emitted
#debuginfo-lines = false
# Whether or not to only build debuginfo for the standard library if enabled.
# If enabled, this will not compile the compiler with debuginfo, just the
# standard library.
#debuginfo-only-std = false
# Enable debuginfo for the extended tools: cargo, rls, rustfmt
# Adding debuginfo makes them several times larger.
#debuginfo-tools = false
Now I am left wondering:
- If I want to have debuginfo for
stdand nothing else, I thought I had to just changedebuginfo-only-stdbut that did not have any effect. So it seems I first have to enabledebuginfobut then restrict it usingonly-std? That's surprising, and not documented. - If I set
debuginfo,debuginfo-only-stdanddebuginfo-tools, which things get debuginfo? - If I set
debuginfo = falseanddebuginfo-tools = true, do the tools get debuginfo?
Metadata
Metadata
Assignees
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)