Skip to content

Commit bf0617b

Browse files
committed
Remove unneeded weak for optimized-c function
`weak` is only used with `no_mangle`
1 parent 93b722d commit bf0617b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/macros.rs

-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ macro_rules! intrinsics {
147147
$($rest:tt)*
148148
) => (
149149
#[cfg($name = "optimized-c")]
150-
#[cfg_attr(all(not(windows), not(target_vendor = "apple")), linkage = "weak")]
151150
pub $(unsafe $($empty)? )? extern $abi fn $name( $($argname: $ty),* ) $(-> $ret)? {
152151
extern $abi {
153152
fn $name($($argname: $ty),*) $(-> $ret)?;

0 commit comments

Comments
 (0)