Skip to content

Commit

Permalink
AArch64 translation module.
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair committed Sep 6, 2019
1 parent 1506655 commit e6c6705
Show file tree
Hide file tree
Showing 3 changed files with 607 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/singlepass-backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ readme = "README.md"
[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
wasmparser = "0.35.1"
dynasm = "0.3.2"
dynasmrt = "0.3.1"
dynasm = "0.5.0"
dynasmrt = "0.5.0"
lazy_static = "1.3.0"
byteorder = "1.3.2"
nix = "0.15.0"
Expand Down
6 changes: 4 additions & 2 deletions lib/singlepass-backend/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#![deny(
/*#![deny(
dead_code,
nonstandard_style,
unused_imports,
unused_mut,
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")]

#[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");

Expand All @@ -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;
Expand Down
Loading

0 comments on commit e6c6705

Please sign in to comment.