Don't modify the intrinsic abi for aarch64 windows (#337)
This commit is contained in:
parent
d7191b14c1
commit
0a15c9bdfe
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
|
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
|
||||||
name = "compiler_builtins"
|
name = "compiler_builtins"
|
||||||
version = "0.1.23"
|
version = "0.1.24"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rust-lang/compiler-builtins"
|
repository = "https://github.com/rust-lang/compiler-builtins"
|
||||||
|
@ -165,13 +165,13 @@ macro_rules! intrinsics {
|
|||||||
|
|
||||||
$($rest:tt)*
|
$($rest:tt)*
|
||||||
) => (
|
) => (
|
||||||
#[cfg(all(windows, target_pointer_width = "64"))]
|
#[cfg(all(windows, target_arch = "x86_64"))]
|
||||||
$(#[$($attr)*])*
|
$(#[$($attr)*])*
|
||||||
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
pub extern $abi fn $name( $($argname: $ty),* ) -> $ret {
|
||||||
$($body)*
|
$($body)*
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(windows, target_pointer_width = "64"))]
|
#[cfg(all(windows, target_arch = "x86_64"))]
|
||||||
pub mod $name {
|
pub mod $name {
|
||||||
|
|
||||||
intrinsics! {
|
intrinsics! {
|
||||||
@ -184,7 +184,7 @@ macro_rules! intrinsics {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(all(windows, target_pointer_width = "64")))]
|
#[cfg(not(all(windows, target_arch = "x86_64")))]
|
||||||
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
Block a user