We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e6d60c commit c9cca33Copy full SHA for c9cca33
src/test/run-make-fulldeps/foreign-rust-exceptions/foo.rs
@@ -1,6 +1,7 @@
1
#![feature(c_unwind)]
2
3
-#[link(name = "bar")]
+#[cfg_attr(not(windows), link(name = "bar"))]
4
+#[cfg_attr(windows, link(name = "bar.dll"))]
5
extern "C-unwind" {
6
fn panic();
7
}
0 commit comments