Merge branch 'master' into doc-readmes

This commit is contained in:
Ivan Enderlin
2020-07-20 10:25:15 +02:00
113 changed files with 6735 additions and 68 deletions

View File

@@ -19,8 +19,8 @@ rayon = "1.3"
hashbrown = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"] }
more-asserts = "0.2"
dynasm = "0.6"
dynasmrt = "0.6"
dynasm = "0.7"
dynasmrt = "0.7"
lazy_static = "1.4"
byteorder = "1.3"
smallvec = "1"

View File

@@ -37,13 +37,7 @@ The fact that singlepass is not prone to JIT bombs and offers a very
predictable compilation speed makes it ideal for **blockchains** and other
systems where fast and consistent compilation times are very critical.
## Requirements
At the moment, this crate depends on Rust nightly to be compiled, as it uses
[`dynasm-rs`] which can only be compiled in Nightly.
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/compiler_singlepass.rs
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm
[`dynasm-rs`]: https://github.com/CensoredUsername/dynasm-rs

View File

@@ -7,10 +7,6 @@
//!
//! Compared to Cranelift and LLVM, Singlepass compiles much faster but has worse
//! runtime performance.
//!
//! > Note: Singlepass currently depends on Rust nightly features.
#![feature(proc_macro_hygiene)]
mod codegen_x64;
mod common_decl;