-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windowsOperating system: WindowsOperating system: Windows
Description
pub static A: &'static [int] = &[];
pub fn main() {
}
Assertion failed!
Program: d:\usr\rust\bin\rustc.exe
File: c:/bot/slave/nightly-win/build/src/llvm/lib/MC/WinCOFFObjectWriter.cpp, Line 224
Expression: Section->Number != -1 && "Sections with relocations must be real!"
Original: rustc --test empty.rs
triggers LLVM assertion error on windows
$ touch empty.rs
$ rustc --test empty.rs
Assertion failed!
Program: c:\home\stone\rust-vanilla\build\i686-pc-mingw32\stage2\bin\rustc.exe
File: c:/home/stone/rust-vanilla/src/llvm/lib/MC/WinCOFFObjectWriter.cpp, Line 222
Expression: Section->Number != -1 && "Sections with relocations must be real!"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Metadata
Metadata
Assignees
Labels
I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windowsOperating system: WindowsOperating system: Windows