Fix use_c_shim_if
This commit is contained in:
parent
47ff81325c
commit
4c41b5649f
|
@ -15,7 +15,7 @@ macro_rules! intrinsics {
|
||||||
$($rest:tt)*
|
$($rest:tt)*
|
||||||
) => (
|
) => (
|
||||||
|
|
||||||
#[cfg(all(feature = "c", not($($cfg_clause)*)))]
|
#[cfg(all(feature = "c", $($cfg_clause)*))]
|
||||||
$(#[$attr])*
|
$(#[$attr])*
|
||||||
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
||||||
extern $abi {
|
extern $abi {
|
||||||
|
@ -26,7 +26,7 @@ macro_rules! intrinsics {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(all(feature = "c", not($($cfg_clause)*))))]
|
#[cfg(not(all(feature = "c", $($cfg_clause)*)))]
|
||||||
intrinsics! {
|
intrinsics! {
|
||||||
$(#[$attr])*
|
$(#[$attr])*
|
||||||
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
||||||
|
|
Loading…
Reference in New Issue