Fix windows compilation
This commit is contained in:
parent
4e6d60c837
commit
c9cca33e85
@ -1,6 +1,7 @@
|
||||
#![feature(c_unwind)]
|
||||
|
||||
#[link(name = "bar")]
|
||||
#[cfg_attr(not(windows), link(name = "bar"))]
|
||||
#[cfg_attr(windows, link(name = "bar.dll"))]
|
||||
extern "C-unwind" {
|
||||
fn panic();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user