Fix windows compilation
This commit is contained in:
parent
4e6d60c837
commit
c9cca33e85
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue