Create releases with dynasm

This commit is contained in:
Syrus 2019-04-06 10:29:15 -07:00
parent a4e1051c25
commit e5fc3b49b8
3 changed files with 13 additions and 2 deletions

2
Cargo.lock generated
View File

@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "MacTypes-sys"
version = "2.1.0"

View File

@ -44,7 +44,7 @@ default = ["fast-tests", "wasi"]
debug = ["wasmer-clif-backend/debug", "wasmer-runtime-core/debug"]
# This feature will allow cargo test to run much faster
fast-tests = []
llvm = ["wasmer-llvm-backend"]
dynasm = ["wasmer-dynasm-backend"]
llvm = ["wasmer-llvm-backend", "wasmer-runtime/llvm"]
dynasm = ["wasmer-dynasm-backend", "wasmer-runtime/dynasm"]
wasi = ["wasmer-wasi"]
vfs = ["wasmer-runtime-abi"]

View File

@ -51,6 +51,15 @@ test-emscripten:
test-emscripten-nightly:
cargo test --manifest-path lib/emscripten/Cargo.toml --features dynasm -- --test-threads=1 $(runargs)
dynasm-debug-release:
cargo +nightly build --features "dynasm debug" --release
dynasm-release:
cargo +nightly build --features "dynasm" --release
dynasm-build:
cargo +nightly build --features "dynasm debug"
release:
# If you are in OS-X, you will need mingw-w64 for cross compiling to windows
# brew install mingw-w64