We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc2f75 commit 9ce9ff6Copy full SHA for 9ce9ff6
crates/dylib-dep/src/lib.rs
@@ -8,7 +8,7 @@ macro_rules! pos {
8
};
9
}
10
11
-#[no_mangle]
+#[unsafe(no_mangle)]
12
pub extern "C" fn foo(outer: Pos, inner: fn(Pos, Pos)) {
13
inner(outer, pos!());
14
0 commit comments