about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJames Duley <james.duley@arm.com>2019-01-20 11:44:11 +0000
committerJames Duley <james.duley@arm.com>2019-03-19 17:07:09 +0000
commit727a15f296bce39383d0c08cd57e1575dea8950d (patch)
treef70a393f84b5274b08b7290f31431f84e85b5759
parentef4d1c419525e1510aa650e2bec0d8f7449a2130 (diff)
downloadrust-727a15f296bce39383d0c08cd57e1575dea8950d.tar.gz
rust-727a15f296bce39383d0c08cd57e1575dea8950d.zip
Fix aarch64 typo
-rw-r--r--src/libcore/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ffi.rs b/src/libcore/ffi.rs
index 5cc9c25c21e..3daa2474c52 100644
--- a/src/libcore/ffi.rs
+++ b/src/libcore/ffi.rs
@@ -47,7 +47,7 @@ impl fmt::Debug for c_void {
 /// Basic implementation of a `va_list`.
 #[cfg(any(all(not(target_arch = "aarch64"), not(target_arch = "powerpc"),
               not(target_arch = "x86_64")),
-          all(target_arch = "aarch4", target_os = "ios"),
+          all(target_arch = "aarch64", target_os = "ios"),
           windows))]
 #[unstable(feature = "c_variadic",
            reason = "the `c_variadic` feature has not been properly tested on \
@@ -193,7 +193,7 @@ impl<'a> VaList<'a> {
             where F: for<'copy> FnOnce(VaList<'copy>) -> R {
         #[cfg(any(all(not(target_arch = "aarch64"), not(target_arch = "powerpc"),
                       not(target_arch = "x86_64")),
-                  all(target_arch = "aarch4", target_os = "ios"),
+                  all(target_arch = "aarch64", target_os = "ios"),
                   windows))]
         let mut ap = va_copy(self);
         #[cfg(all(any(target_arch = "aarch64", target_arch = "powerpc", target_arch = "x86_64"),