On macOS, I get:
diff --git a/tests/expectations/tests/call-conv-field.rs b/tests/expectations/tests/call-conv-field.rs
index d6aa9e4..7b03961 100644
--- a/tests/expectations/tests/call-conv-field.rs
+++ b/tests/expectations/tests/call-conv-field.rs
@@ -37,6 +37,6 @@ impl Default for JNINativeInterface_ {
fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
extern "stdcall" {
- #[link_name = "_bar@0"]
+ #[link_name = "bar@0"]
pub fn bar();
}