AArch64 translation module.

This commit is contained in:
losfair
2019-09-07 01:31:16 +08:00
parent 20a0afa6a5
commit 4210715070
3 changed files with 607 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#![deny(
/*#![deny(
dead_code,
nonstandard_style,
unused_imports,
@ -6,7 +6,7 @@
unused_variables,
unused_unsafe,
unreachable_patterns
)]
)]*/
#![feature(proc_macro_hygiene)]
#![doc(html_favicon_url = "https://wasmer.io/static/icons/favicon.ico")]
#![doc(html_logo_url = "https://avatars3.githubusercontent.com/u/44205449?s=200&v=4")]
@ -14,6 +14,7 @@
#[cfg(not(any(
all(target_os = "macos", target_arch = "x86_64"),
all(target_os = "linux", target_arch = "x86_64"),
all(target_os = "linux", target_arch = "aarch64"),
)))]
compile_error!("This crate doesn't yet support compiling on operating systems other than linux and macos and architectures other than x86_64");
@ -30,6 +31,7 @@ extern crate byteorder;
extern crate smallvec;
mod codegen_x64;
mod translator_aarch64;
mod emitter_x64;
mod machine;
pub mod protect_unix;