You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: compiler/rustc_session/src/options.rs
+5-3
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ mod desc {
436
436
"either a boolean (`yes`, `no`, `on`, `off`, etc), `thin`, `fat`, or omitted";
437
437
pub(crate)const parse_linker_plugin_lto:&str =
438
438
"either a boolean (`yes`, `no`, `on`, `off`, etc), or the path to the linker plugin";
439
-
pub(crate)const parse_location_detail:&str = "either `none`, or a comma separated list of location details to track: `file`, `line`, or `column`";
439
+
pub(crate)const parse_location_detail:&str = "either `none`, or a comma separated list of location details to track: `file`, `line`, `column` or `cstr`";
440
440
pub(crate)const parse_fmt_debug:&str = "either `full`, `shallow`, or `none`";
441
441
pub(crate)const parse_switch_with_opt_path:&str =
442
442
"an optional path to the profiling data output directory";
@@ -647,6 +647,7 @@ pub mod parse {
647
647
ld.line = false;
648
648
ld.file = false;
649
649
ld.column = false;
650
+
ld.cstr = false;
650
651
if v == "none"{
651
652
returntrue;
652
653
}
@@ -655,6 +656,7 @@ pub mod parse {
655
656
"file" => ld.file = true,
656
657
"line" => ld.line = true,
657
658
"column" => ld.column = true,
659
+
"cstr" => ld.cstr = true,
658
660
_ => returnfalse,
659
661
}
660
662
}
@@ -1904,8 +1906,8 @@ options! {
1904
1906
"generate JSON tracing data file from LLVM data (default: no)"),
0 commit comments