Fix use_c_shim_if

This commit is contained in:
Alex Crichton 2017-06-23 07:54:31 -07:00
parent 47ff81325c
commit 4c41b5649f
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ macro_rules! intrinsics {
$($rest:tt)*
) => (
#[cfg(all(feature = "c", not($($cfg_clause)*)))]
#[cfg(all(feature = "c", $($cfg_clause)*))]
$(#[$attr])*
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
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! {
$(#[$attr])*
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {