-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Description
Attempting to run the example in the Chapter "Functions" of the Rust book using RUST_BACKTRACE=1:
fn diverges() -> ! {
panic!("This function never returns!");
}
fn main() {
diverges();
}
Under Windows 10 using Rust 1.5 Gnu ABI (64 bit), this gives:
thread '<main>' panicked at 'This function never returns!', hello.rs:2
stack backtrace:
0: 0x4410a7 - <unknown>
1: 0x448a5e - <unknown>
2: 0x40561c - <unknown>
3: 0x401589 - <unknown>
4: 0x40151d - <unknown>
5: 0x4016a8 - <unknown>
6: 0x4480e8 - <unknown>
7: 0x4316a1 - <unknown>
8: 0x447ff7 - <unknown>
9: 0x4016da - <unknown>
10: 0x4013b4 - <unknown>
11: 0x4014e7 - <unknown>
12: 0x7ffa8ec32d91 - <unknown>
This is a repeat of the issue brought up by user jonas-schievink in Issue #28004 (which was merged).
This issue is also present on the 32bit version and the latest nightly.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)