Remove unneeded weak for optimized-c function
`weak` is only used with `no_mangle`
This commit is contained in:
parent
2e096145c3
commit
e232a79146
1 changed files with 0 additions and 1 deletions
|
|
@ -147,7 +147,6 @@ macro_rules! intrinsics {
|
|||
$($rest:tt)*
|
||||
) => (
|
||||
#[cfg($name = "optimized-c")]
|
||||
#[cfg_attr(all(not(windows), not(target_vendor = "apple")), linkage = "weak")]
|
||||
pub $(unsafe $($empty)? )? extern $abi fn $name( $($argname: $ty),* ) $(-> $ret)? {
|
||||
extern $abi {
|
||||
fn $name($($argname: $ty),*) $(-> $ret)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue