Skip to content

Commit a0943d0

Browse files
committed
Use DWARF 5 value for DW_LANG_Rust
1 parent 8d5e845 commit a0943d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_trans/debuginfo/metadata.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ use syntax::{ast, codemap};
5050
use syntax::parse::token;
5151

5252

53-
const DW_LANG_RUST: c_uint = 0x9000;
53+
// From DWARF 5.
54+
// See http://www.dwarfstd.org/ShowIssue.php?issue=140129.1
55+
const DW_LANG_RUST: c_uint = 0x1c;
5456
#[allow(non_upper_case_globals)]
5557
const DW_ATE_boolean: c_uint = 0x02;
5658
#[allow(non_upper_case_globals)]

0 commit comments

Comments
 (0)