-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #120845 - petrochenkov:debmac, r=oli-obk
debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[collapse_debuginfo]` `-Z debug-macros` is "stabilized" by enabling it by default and removing. `-Z collapse-macro-debuginfo` is stabilized as `-C collapse-macro-debuginfo`. It now supports all typical boolean values (`parse_opt_bool`) in addition to just yes/no. Default value of `collapse_debuginfo` was changed from `false` to `external` (i.e. collapsed if external, not collapsed if local) - rust-lang/rust#100758 (comment) describes some debugging scenarios that motivate this default as reasonable. `#[collapse_debuginfo]` attribute without a value is no longer supported to avoid guessing the default. Stabilization report: rust-lang/rust#120845 (comment) Closes rust-lang/rust#100758 Closes rust-lang/rust#41743 Closes rust-lang/rust#39153
- Loading branch information
Showing
3 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$DIR/backtrace-api-v0.rs:24:14 (func_d) | ||
$DIR/backtrace-api-v0.rs:20:5 (func_c) | ||
$DIR/backtrace-api-v0.rs:14:9 (func_c) | ||
$DIR/backtrace-api-v0.rs:9:5 (func_b::<u8>) | ||
$DIR/backtrace-api-v0.rs:5:5 (func_a) | ||
$DIR/backtrace-api-v0.rs:29:18 (main) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$DIR/backtrace-api-v1.rs:27:9 (func_d) | ||
$DIR/backtrace-api-v1.rs:20:5 (func_c) | ||
$DIR/backtrace-api-v1.rs:14:9 (func_c) | ||
$DIR/backtrace-api-v1.rs:9:5 (func_b::<u8>) | ||
$DIR/backtrace-api-v1.rs:5:5 (func_a) | ||
$DIR/backtrace-api-v1.rs:34:18 (main) |