mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Merge branch 'master' into c-api-extract-instance_context-from-instance
This commit is contained in:
commit
3a84288fd9
@ -47,16 +47,17 @@ install:
|
|||||||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose --features backend-llvm
|
||||||
- git submodule init
|
|
||||||
- git submodule update
|
|
||||||
- if %APPVEYOR_REPO_BRANCH%==master cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
|
||||||
- cargo build --release --manifest-path lib/runtime-c-api/Cargo.toml
|
- cargo build --release --manifest-path lib/runtime-c-api/Cargo.toml
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cargo test --manifest-path lib/spectests/Cargo.toml --features clif
|
- cargo test --manifest-path lib/spectests/Cargo.toml --features clif
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
- appveyor PushArtifact target\release\wasmer_runtime_c_api.dll
|
||||||
|
- git submodule init
|
||||||
|
- git submodule update
|
||||||
|
- cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
||||||
- cd ./src/installer
|
- cd ./src/installer
|
||||||
- iscc wasmer.iss
|
- iscc wasmer.iss
|
||||||
- copy /y .\WasmerInstaller.exe ..\..\WasmerInstaller-%APPVEYOR_REPO_TAG_NAME%.exe
|
- copy /y .\WasmerInstaller.exe ..\..\WasmerInstaller-%APPVEYOR_REPO_TAG_NAME%.exe
|
||||||
|
@ -75,9 +75,6 @@ jobs:
|
|||||||
make cranelift
|
make cranelift
|
||||||
make llvm
|
make llvm
|
||||||
make test-rest
|
make test-rest
|
||||||
- run:
|
|
||||||
name: Release
|
|
||||||
command: make release-fast
|
|
||||||
- run:
|
- run:
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
command: make integration-tests
|
command: make integration-tests
|
||||||
@ -116,10 +113,8 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
make check
|
make check
|
||||||
make compile-bench-singlepass
|
make compile-bench-singlepass
|
||||||
# TODO: add compile-bench-llvm and compile-bench-clif when they work
|
make compile-bench-llvm
|
||||||
- run:
|
# TODO: add compile-bench-clif when it works
|
||||||
name: Release
|
|
||||||
command: make release-fast
|
|
||||||
- run:
|
- run:
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
command: make integration-tests
|
command: make integration-tests
|
||||||
@ -195,11 +190,6 @@ jobs:
|
|||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
export LLVM_SYS_80_PREFIX="`pwd`/clang+llvm-8.0.0-x86_64-apple-darwin/"
|
export LLVM_SYS_80_PREFIX="`pwd`/clang+llvm-8.0.0-x86_64-apple-darwin/"
|
||||||
make check
|
make check
|
||||||
- run:
|
|
||||||
name: Release
|
|
||||||
command: |
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
make release-fast
|
|
||||||
- run:
|
- run:
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
command: |
|
command: |
|
||||||
|
@ -5,6 +5,9 @@ All PRs to the Wasmer repository must add to this file.
|
|||||||
Blocks of changes will separated by version increments.
|
Blocks of changes will separated by version increments.
|
||||||
|
|
||||||
## **[Unreleased]**
|
## **[Unreleased]**
|
||||||
|
|
||||||
|
## 0.6.0 - 2019-07-31
|
||||||
|
- [#603](https://github.com/wasmerio/wasmer/pull/603) Update Wapm-cli, bump version numbers
|
||||||
- [#595](https://github.com/wasmerio/wasmer/pull/595) Add unstable public API for interfacing with the WASI file system in plugin-like usecases
|
- [#595](https://github.com/wasmerio/wasmer/pull/595) Add unstable public API for interfacing with the WASI file system in plugin-like usecases
|
||||||
- [#598](https://github.com/wasmerio/wasmer/pull/598) LLVM Backend is now supported in Windows
|
- [#598](https://github.com/wasmerio/wasmer/pull/598) LLVM Backend is now supported in Windows
|
||||||
- [#599](https://github.com/wasmerio/wasmer/pull/599) Fix llvm backend failures in fat spec tests and simd_binaryen spec test.
|
- [#599](https://github.com/wasmerio/wasmer/pull/599) Fix llvm backend failures in fat spec tests and simd_binaryen spec test.
|
||||||
|
148
Cargo.lock
generated
148
Cargo.lock
generated
@ -1390,7 +1390,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer"
|
name = "wasmer"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1399,23 +1399,23 @@ dependencies = [
|
|||||||
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
"structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-dev-utils 0.5.7",
|
"wasmer-dev-utils 0.6.0",
|
||||||
"wasmer-emscripten 0.5.7",
|
"wasmer-emscripten 0.6.0",
|
||||||
"wasmer-emscripten-tests 0.5.7",
|
"wasmer-emscripten-tests 0.6.0",
|
||||||
"wasmer-kernel-loader 0.1.0",
|
"wasmer-kernel-loader 0.1.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-middleware-common 0.5.7",
|
"wasmer-middleware-common 0.6.0",
|
||||||
"wasmer-runtime 0.5.7",
|
"wasmer-runtime 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
"wasmer-wasi 0.5.7",
|
"wasmer-wasi 0.6.0",
|
||||||
"wasmer-wasi-tests 0.5.7",
|
"wasmer-wasi-tests 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-clif-backend"
|
name = "wasmer-clif-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1430,17 +1430,17 @@ dependencies = [
|
|||||||
"serde_bytes 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_bytes 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"target-lexicon 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"target-lexicon 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-fork-frontend 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmer-clif-fork-frontend 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-fork-wasm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmer-clif-fork-wasm 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-win-exception-handler 0.5.7",
|
"wasmer-win-exception-handler 0.6.0",
|
||||||
"wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-clif-fork-frontend"
|
name = "wasmer-clif-fork-frontend"
|
||||||
version = "0.32.0"
|
version = "0.33.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1450,7 +1450,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-clif-fork-wasm"
|
name = "wasmer-clif-fork-wasm"
|
||||||
version = "0.32.0"
|
version = "0.33.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cranelift-codegen 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1458,20 +1458,20 @@ dependencies = [
|
|||||||
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-fork-frontend 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmer-clif-fork-frontend 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-dev-utils"
|
name = "wasmer-dev-utils"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-emscripten"
|
name = "wasmer-emscripten"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1479,21 +1479,21 @@ dependencies = [
|
|||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-emscripten-tests"
|
name = "wasmer-emscripten-tests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-dev-utils 0.5.7",
|
"wasmer-dev-utils 0.6.0",
|
||||||
"wasmer-emscripten 0.5.7",
|
"wasmer-emscripten 0.6.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -1501,12 +1501,12 @@ name = "wasmer-kernel-loader"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-llvm-backend"
|
name = "wasmer-llvm-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"capstone 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"capstone 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1521,51 +1521,51 @@ dependencies = [
|
|||||||
"semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-middleware-common"
|
name = "wasmer-middleware-common"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-runtime"
|
name = "wasmer-runtime"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tempfile 3.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tempfile 3.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-runtime-c-api"
|
name = "wasmer-runtime-c-api"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cbindgen 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cbindgen 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime 0.5.7",
|
"wasmer-runtime 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-runtime-core"
|
name = "wasmer-runtime-core"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"blake2b_simd 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"blake2b_simd 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1588,13 +1588,13 @@ dependencies = [
|
|||||||
"serde_bytes 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_bytes 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-singlepass-backend"
|
name = "wasmer-singlepass-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"colored 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"colored 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1605,24 +1605,24 @@ dependencies = [
|
|||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"nix 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"nix 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-spectests"
|
name = "wasmer-spectests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-wasi"
|
name = "wasmer-wasi"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"generational-arena 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"generational-arena 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -1630,38 +1630,38 @@ dependencies = [
|
|||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-wasi-tests"
|
name = "wasmer-wasi-tests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-clif-backend 0.5.7",
|
"wasmer-clif-backend 0.6.0",
|
||||||
"wasmer-dev-utils 0.5.7",
|
"wasmer-dev-utils 0.6.0",
|
||||||
"wasmer-llvm-backend 0.5.7",
|
"wasmer-llvm-backend 0.6.0",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"wasmer-singlepass-backend 0.5.7",
|
"wasmer-singlepass-backend 0.6.0",
|
||||||
"wasmer-wasi 0.5.7",
|
"wasmer-wasi 0.6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-win-exception-handler"
|
name = "wasmer-win-exception-handler"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bindgen 0.46.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bindgen 0.46.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.57 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"wasmer-runtime-core 0.5.7",
|
"wasmer-runtime-core 0.6.0",
|
||||||
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmparser"
|
name = "wasmparser"
|
||||||
version = "0.34.0"
|
version = "0.35.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -1895,9 +1895,9 @@ dependencies = [
|
|||||||
"checksum wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d07edd40d190ddcbd0113c2150ccb214f47a02ff36958630ba0e5b8138ece1c1"
|
"checksum wabt 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d07edd40d190ddcbd0113c2150ccb214f47a02ff36958630ba0e5b8138ece1c1"
|
||||||
"checksum wabt-sys 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b064c81821100adb4b71923cecfc67fef083db21c3bbd454b0162c7ffe63eeaa"
|
"checksum wabt-sys 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b064c81821100adb4b71923cecfc67fef083db21c3bbd454b0162c7ffe63eeaa"
|
||||||
"checksum walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d9d7ed3431229a144296213105a390676cc49c9b6a72bd19f3176c98e129fa1"
|
"checksum walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d9d7ed3431229a144296213105a390676cc49c9b6a72bd19f3176c98e129fa1"
|
||||||
"checksum wasmer-clif-fork-frontend 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "be2e38b16377f93ac485b6045fdc135dd3f165d25d4992e7b67c5cbc3ca8c760"
|
"checksum wasmer-clif-fork-frontend 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3bd6bec1587a3b11222f4ff129fd119785713c41de413f54f99d3c03743812f4"
|
||||||
"checksum wasmer-clif-fork-wasm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "88becfcf874d7587750e1a1c30c47a16ed220f28c433c4b81db4c4626455a6a1"
|
"checksum wasmer-clif-fork-wasm 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a8f323e612fe2549391255a09f89c927d7feb0ec4bf0c2cad9e3c089bdca42fc"
|
||||||
"checksum wasmparser 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8030ec5a7c242a91941947fdb752e9a7c0929aced954ea23c54dad1cd2611850"
|
"checksum wasmparser 0.35.1 (registry+https://github.com/rust-lang/crates.io-index)" = "29f51d6103c622680dc4e17fb8173371efda8e529d97a2ba10ddf847d07705f8"
|
||||||
"checksum which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164"
|
"checksum which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164"
|
||||||
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
||||||
"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
|
"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer"
|
name = "wasmer"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
|
4
Makefile
4
Makefile
@ -104,7 +104,7 @@ test: spectests emtests middleware wasitests circleci-clean test-rest
|
|||||||
|
|
||||||
|
|
||||||
# Integration tests
|
# Integration tests
|
||||||
integration-tests: release-fast
|
integration-tests: release-clif
|
||||||
echo "Running Integration Tests"
|
echo "Running Integration Tests"
|
||||||
./integration_tests/lua/test.sh
|
./integration_tests/lua/test.sh
|
||||||
./integration_tests/nginx/test.sh
|
./integration_tests/nginx/test.sh
|
||||||
@ -130,7 +130,7 @@ release:
|
|||||||
cargo build --release --features backend-singlepass,backend-llvm,loader-kernel
|
cargo build --release --features backend-singlepass,backend-llvm,loader-kernel
|
||||||
|
|
||||||
# Only one backend (cranelift)
|
# Only one backend (cranelift)
|
||||||
release-fast:
|
release-clif:
|
||||||
# If you are in OS-X, you will need mingw-w64 for cross compiling to windows
|
# If you are in OS-X, you will need mingw-w64 for cross compiling to windows
|
||||||
# brew install mingw-w64
|
# brew install mingw-w64
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
25
README.md
25
README.md
@ -29,10 +29,13 @@ Install Wasmer with:
|
|||||||
curl https://get.wasmer.io -sSfL | sh
|
curl https://get.wasmer.io -sSfL | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Note: *Wasmer is also available on Windows. Download the [`WasmerInstaller.exe` from the Github Releases](https://github.com/wasmerio/wasmer/releases) page.*
|
||||||
|
|
||||||
Wasmer runtime can also be embedded in different languages, so you can use WebAssembly anywhere ✨:
|
Wasmer runtime can also be embedded in different languages, so you can use WebAssembly anywhere ✨:
|
||||||
|
|
||||||
* [🦀 **Rust**](https://github.com/wasmerio/wasmer-rust-example)
|
* [**🦀 Rust**](https://github.com/wasmerio/wasmer-rust-example)
|
||||||
* [**C/C++**](https://github.com/wasmerio/wasmer-c-api)
|
* [**🔗 C/C++**](https://github.com/wasmerio/wasmer-c-api)
|
||||||
|
* [**#️⃣ C#**](https://github.com/migueldeicaza/WasmerSharp)
|
||||||
* [**🐘 PHP**](https://github.com/wasmerio/php-ext-wasm)
|
* [**🐘 PHP**](https://github.com/wasmerio/php-ext-wasm)
|
||||||
* [**🐍 Python**](https://github.com/wasmerio/python-ext-wasm)
|
* [**🐍 Python**](https://github.com/wasmerio/python-ext-wasm)
|
||||||
* [**💎 Ruby**](https://github.com/wasmerio/ruby-ext-wasm)
|
* [**💎 Ruby**](https://github.com/wasmerio/ruby-ext-wasm)
|
||||||
@ -82,7 +85,7 @@ Wasmer is structured into different directories:
|
|||||||
|
|
||||||
Building Wasmer requires [rustup](https://rustup.rs/).
|
Building Wasmer requires [rustup](https://rustup.rs/).
|
||||||
|
|
||||||
To build on Windows, download and run [`rustup-init.exe`](https://win.rustup.rs/)
|
To build Wasmer on Windows, download and run [`rustup-init.exe`](https://win.rustup.rs/)
|
||||||
then follow the onscreen instructions.
|
then follow the onscreen instructions.
|
||||||
|
|
||||||
To build on other systems, run:
|
To build on other systems, run:
|
||||||
@ -146,8 +149,8 @@ pkg install cmake
|
|||||||
|
|
||||||
#### Windows (MSVC)
|
#### Windows (MSVC)
|
||||||
|
|
||||||
Windows support is _highly experimental_. Only simple Wasm programs may be run, and no syscalls are allowed. This means
|
Windows support is _experimental_. WASI is fully supported, but Emscripten support is on the works (this means
|
||||||
nginx and Lua do not work on Windows. See [this issue](https://github.com/wasmerio/wasmer/issues/176) regarding Emscripten syscall polyfills for Windows.
|
nginx and Lua do not work on Windows - you can track the progress on [this issue](https://github.com/wasmerio/wasmer/issues/176)).
|
||||||
|
|
||||||
1. Install [Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15)
|
1. Install [Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15)
|
||||||
|
|
||||||
@ -181,8 +184,14 @@ git clone https://github.com/wasmerio/wasmer.git
|
|||||||
cd wasmer
|
cd wasmer
|
||||||
|
|
||||||
# install tools
|
# install tools
|
||||||
# make sure that `python` is accessible.
|
make release-clif # To build with cranelift (default)
|
||||||
make install
|
|
||||||
|
make release-llvm # To build with llvm support
|
||||||
|
|
||||||
|
make release-singlepass # To build with singlepass support
|
||||||
|
|
||||||
|
# or
|
||||||
|
make release # To build with singlepass, cranelift and llvm support
|
||||||
```
|
```
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
@ -240,7 +249,7 @@ Below are some of the goals of this project (in order of priority):
|
|||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
If you would like to know how Wasmer works under the hood, please see [ARCHITECTURE.md](./ARCHITECTURE.md).
|
If you would like to know how Wasmer works under the hood, please see [docs/architecture.md](./docs/architecture.md).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-clif-backend"
|
name = "wasmer-clif-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime Cranelift compiler backend"
|
description = "Wasmer runtime Cranelift compiler backend"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -9,15 +9,15 @@ edition = "2018"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
cranelift-native = { version = "0.31" }
|
cranelift-native = { version = "0.31" }
|
||||||
cranelift-codegen = { version = "0.31" }
|
cranelift-codegen = { version = "0.31" }
|
||||||
cranelift-entity = { version = "0.31" }
|
cranelift-entity = { version = "0.31" }
|
||||||
cranelift-frontend = { package = "wasmer-clif-fork-frontend", version = "0.32" }
|
cranelift-frontend = { package = "wasmer-clif-fork-frontend", version = "0.33" }
|
||||||
cranelift-wasm = { package = "wasmer-clif-fork-wasm", version = "0.32" }
|
cranelift-wasm = { package = "wasmer-clif-fork-wasm", version = "0.33" }
|
||||||
hashbrown = "0.1"
|
hashbrown = "0.1"
|
||||||
target-lexicon = "0.4.0"
|
target-lexicon = "0.4.0"
|
||||||
wasmparser = "0.34.0"
|
wasmparser = "0.35.1"
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
nix = "0.14.0"
|
nix = "0.14.0"
|
||||||
libc = "0.2.49"
|
libc = "0.2.49"
|
||||||
@ -35,7 +35,7 @@ version = "0.0.7"
|
|||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = { version = "0.3", features = ["errhandlingapi", "minwindef", "minwinbase", "winnt"] }
|
winapi = { version = "0.3", features = ["errhandlingapi", "minwindef", "minwinbase", "winnt"] }
|
||||||
wasmer-win-exception-handler = { path = "../win-exception-handler", version = "0.5.7" }
|
wasmer-win-exception-handler = { path = "../win-exception-handler", version = "0.6.0" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug = ["wasmer-runtime-core/debug"]
|
debug = ["wasmer-runtime-core/debug"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-dev-utils"
|
name = "wasmer-dev-utils"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime core library"
|
description = "Wasmer runtime core library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-emscripten-tests"
|
name = "wasmer-emscripten-tests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Tests for our Emscripten implementation"
|
description = "Tests for our Emscripten implementation"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -9,15 +9,15 @@ publish = false
|
|||||||
build = "build/mod.rs"
|
build = "build/mod.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-emscripten = { path = "../emscripten", version = "0.5.7" }
|
wasmer-emscripten = { path = "../emscripten", version = "0.6.0" }
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.7" }
|
wasmer-clif-backend = { path = "../clif-backend", version = "0.6.0" }
|
||||||
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.7", optional = true }
|
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.6.0", optional = true }
|
||||||
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.7", optional = true }
|
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.6.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wabt = "0.9.0"
|
wabt = "0.9.0"
|
||||||
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.7"}
|
wasmer-dev-utils = { path = "../dev-utils", version = "0.6.0"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
glob = "0.2.11"
|
glob = "0.2.11"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-emscripten"
|
name = "wasmer-emscripten"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime emscripten implementation library"
|
description = "Wasmer runtime emscripten implementation library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -13,7 +13,7 @@ hashbrown = "0.1"
|
|||||||
lazy_static = "1.2.0"
|
lazy_static = "1.2.0"
|
||||||
libc = "0.2.49"
|
libc = "0.2.49"
|
||||||
time = "0.1.41"
|
time = "0.1.41"
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
rand = "0.6"
|
rand = "0.6"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-llvm-backend"
|
name = "wasmer-llvm-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
wasmparser = "0.34.0"
|
wasmparser = "0.35.1"
|
||||||
hashbrown = "0.1.8"
|
hashbrown = "0.1.8"
|
||||||
smallvec = "0.6.8"
|
smallvec = "0.6.8"
|
||||||
goblin = "0.0.20"
|
goblin = "0.0.20"
|
||||||
|
@ -594,14 +594,6 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn feed_event(&mut self, event: Event, module_info: &ModuleInfo) -> Result<(), CodegenError> {
|
fn feed_event(&mut self, event: Event, module_info: &ModuleInfo) -> Result<(), CodegenError> {
|
||||||
let op = match event {
|
|
||||||
Event::Wasm(x) => x,
|
|
||||||
Event::Internal(_x) => {
|
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
Event::WasmOwned(ref x) => x,
|
|
||||||
};
|
|
||||||
|
|
||||||
let mut state = &mut self.state;
|
let mut state = &mut self.state;
|
||||||
let builder = self.builder.as_ref().unwrap();
|
let builder = self.builder.as_ref().unwrap();
|
||||||
let context = self.context.as_ref().unwrap();
|
let context = self.context.as_ref().unwrap();
|
||||||
@ -612,6 +604,38 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
|||||||
let signatures = &self.signatures;
|
let signatures = &self.signatures;
|
||||||
let mut ctx = self.ctx.as_mut().unwrap();
|
let mut ctx = self.ctx.as_mut().unwrap();
|
||||||
|
|
||||||
|
let op = match event {
|
||||||
|
Event::Wasm(x) => x,
|
||||||
|
Event::WasmOwned(ref x) => x,
|
||||||
|
Event::Internal(x) => {
|
||||||
|
match x {
|
||||||
|
InternalEvent::FunctionBegin(_) | InternalEvent::FunctionEnd => {
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
InternalEvent::Breakpoint(_callback) => {
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
InternalEvent::GetInternal(idx) => {
|
||||||
|
if state.reachable {
|
||||||
|
let idx = idx as usize;
|
||||||
|
let field_ptr = ctx.internal_field(idx, intrinsics, builder);
|
||||||
|
let result = builder.build_load(field_ptr, "get_internal");
|
||||||
|
state.push1(result);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
InternalEvent::SetInternal(idx) => {
|
||||||
|
if state.reachable {
|
||||||
|
let idx = idx as usize;
|
||||||
|
let field_ptr = ctx.internal_field(idx, intrinsics, builder);
|
||||||
|
let v = state.pop1()?;
|
||||||
|
builder.build_store(field_ptr, v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
if !state.reachable {
|
if !state.reachable {
|
||||||
match *op {
|
match *op {
|
||||||
Operator::Block { ty: _ } | Operator::Loop { ty: _ } | Operator::If { ty: _ } => {
|
Operator::Block { ty: _ } | Operator::Loop { ty: _ } | Operator::If { ty: _ } => {
|
||||||
|
@ -18,7 +18,7 @@ use wasmer_runtime_core::{
|
|||||||
GlobalIndex, ImportedFuncIndex, LocalFuncIndex, LocalOrImport, MemoryIndex, SigIndex,
|
GlobalIndex, ImportedFuncIndex, LocalFuncIndex, LocalOrImport, MemoryIndex, SigIndex,
|
||||||
TableIndex, Type,
|
TableIndex, Type,
|
||||||
},
|
},
|
||||||
vm::Ctx,
|
vm::{Ctx, INTERNALS_SIZE},
|
||||||
};
|
};
|
||||||
|
|
||||||
fn type_to_llvm_ptr(intrinsics: &Intrinsics, ty: Type) -> PointerType {
|
fn type_to_llvm_ptr(intrinsics: &Intrinsics, ty: Type) -> PointerType {
|
||||||
@ -942,4 +942,31 @@ impl<'a> CtxType<'a> {
|
|||||||
|
|
||||||
(imported_func_cache.func_ptr, imported_func_cache.ctx_ptr)
|
(imported_func_cache.func_ptr, imported_func_cache.ctx_ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn internal_field(
|
||||||
|
&mut self,
|
||||||
|
index: usize,
|
||||||
|
intrinsics: &Intrinsics,
|
||||||
|
builder: &Builder,
|
||||||
|
) -> PointerValue {
|
||||||
|
assert!(index < INTERNALS_SIZE);
|
||||||
|
|
||||||
|
let local_internals_ptr_ptr = unsafe {
|
||||||
|
builder.build_struct_gep(
|
||||||
|
self.ctx_ptr_value,
|
||||||
|
offset_to_index(Ctx::offset_internals()),
|
||||||
|
"local_internals_ptr_ptr",
|
||||||
|
)
|
||||||
|
};
|
||||||
|
let local_internals_ptr = builder
|
||||||
|
.build_load(local_internals_ptr_ptr, "local_internals_ptr")
|
||||||
|
.into_pointer_value();
|
||||||
|
unsafe {
|
||||||
|
builder.build_in_bounds_gep(
|
||||||
|
local_internals_ptr,
|
||||||
|
&[intrinsics.i32_ty.const_int(index as u64, false)],
|
||||||
|
"local_internal_field_ptr",
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-middleware-common"
|
name = "wasmer-middleware-common"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
description = "Wasmer runtime common middlewares"
|
description = "Wasmer runtime common middlewares"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -9,9 +9,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core" }
|
wasmer-runtime-core = { path = "../runtime-core" }
|
||||||
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.7" }
|
wasmer-clif-backend = { path = "../clif-backend", version = "0.6.0" }
|
||||||
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.7", optional = true }
|
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.6.0", optional = true }
|
||||||
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.7", optional = true }
|
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.6.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wabt = "0.9.0"
|
wabt = "0.9.0"
|
||||||
|
@ -135,10 +135,9 @@ static WAT_GAS: &'static str = r#"
|
|||||||
|
|
||||||
#[cfg(feature = "llvm")]
|
#[cfg(feature = "llvm")]
|
||||||
fn get_compiler(limit: u64, metering: bool) -> impl Compiler {
|
fn get_compiler(limit: u64, metering: bool) -> impl Compiler {
|
||||||
use wasmer_llvm_backend::code::LLVMModuleCodeGenerator;
|
use wasmer_llvm_backend::ModuleCodeGenerator;
|
||||||
use wasmer_runtime_core::codegen::{MiddlewareChain, StreamingCompiler};
|
use wasmer_runtime_core::codegen::{MiddlewareChain, StreamingCompiler};
|
||||||
let c: StreamingCompiler<LLVMModuleCodeGenerator, _, _, _, _> =
|
let c: StreamingCompiler<ModuleCodeGenerator, _, _, _, _> = StreamingCompiler::new(move || {
|
||||||
StreamingCompiler::new(move || {
|
|
||||||
let mut chain = MiddlewareChain::new();
|
let mut chain = MiddlewareChain::new();
|
||||||
if metering {
|
if metering {
|
||||||
chain.push(Metering::new(limit));
|
chain.push(Metering::new(limit));
|
||||||
|
@ -134,14 +134,13 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
use wabt::wat2wasm;
|
use wabt::wat2wasm;
|
||||||
|
|
||||||
|
use wasmer_runtime_core::codegen::{MiddlewareChain, StreamingCompiler};
|
||||||
use wasmer_runtime_core::{backend::Compiler, compile_with, imports, Func};
|
use wasmer_runtime_core::{backend::Compiler, compile_with, imports, Func};
|
||||||
|
|
||||||
#[cfg(feature = "llvm")]
|
#[cfg(feature = "llvm")]
|
||||||
fn get_compiler(limit: u64) -> impl Compiler {
|
fn get_compiler(limit: u64) -> impl Compiler {
|
||||||
use wasmer_llvm_backend::code::LLVMModuleCodeGenerator;
|
use wasmer_llvm_backend::ModuleCodeGenerator as LLVMMCG;
|
||||||
use wasmer_runtime_core::codegen::{MiddlewareChain, StreamingCompiler};
|
let c: StreamingCompiler<LLVMMCG, _, _, _, _> = StreamingCompiler::new(move || {
|
||||||
let c: StreamingCompiler<LLVMModuleCodeGenerator, _, _, _, _> =
|
|
||||||
StreamingCompiler::new(move || {
|
|
||||||
let mut chain = MiddlewareChain::new();
|
let mut chain = MiddlewareChain::new();
|
||||||
chain.push(Metering::new(limit));
|
chain.push(Metering::new(limit));
|
||||||
chain
|
chain
|
||||||
@ -151,7 +150,6 @@ mod tests {
|
|||||||
|
|
||||||
#[cfg(feature = "singlepass")]
|
#[cfg(feature = "singlepass")]
|
||||||
fn get_compiler(limit: u64) -> impl Compiler {
|
fn get_compiler(limit: u64) -> impl Compiler {
|
||||||
use wasmer_runtime_core::codegen::{MiddlewareChain, StreamingCompiler};
|
|
||||||
use wasmer_singlepass_backend::ModuleCodeGenerator as SinglePassMCG;
|
use wasmer_singlepass_backend::ModuleCodeGenerator as SinglePassMCG;
|
||||||
let c: StreamingCompiler<SinglePassMCG, _, _, _, _> = StreamingCompiler::new(move || {
|
let c: StreamingCompiler<SinglePassMCG, _, _, _, _> = StreamingCompiler::new(move || {
|
||||||
let mut chain = MiddlewareChain::new();
|
let mut chain = MiddlewareChain::new();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-runtime-abi"
|
name = "wasmer-runtime-abi"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime core library"
|
description = "Wasmer runtime core library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-runtime-c-api"
|
name = "wasmer-runtime-c-api"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer C API library"
|
description = "Wasmer C API library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -16,11 +16,11 @@ libc = "0.2"
|
|||||||
|
|
||||||
[dependencies.wasmer-runtime]
|
[dependencies.wasmer-runtime]
|
||||||
path = "../runtime"
|
path = "../runtime"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
|
|
||||||
[dependencies.wasmer-runtime-core]
|
[dependencies.wasmer-runtime-core]
|
||||||
path = "../runtime-core"
|
path = "../runtime-core"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug = ["wasmer-runtime/debug"]
|
debug = ["wasmer-runtime/debug"]
|
||||||
|
@ -11,7 +11,7 @@ thread_local! {
|
|||||||
static LAST_ERROR: RefCell<Option<Box<Error>>> = RefCell::new(None);
|
static LAST_ERROR: RefCell<Option<Box<Error>>> = RefCell::new(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn update_last_error<E: Error + 'static>(err: E) {
|
pub fn update_last_error<E: Error + 'static>(err: E) {
|
||||||
LAST_ERROR.with(|prev| {
|
LAST_ERROR.with(|prev| {
|
||||||
*prev.borrow_mut() = Some(Box::new(err));
|
*prev.borrow_mut() = Some(Box::new(err));
|
||||||
});
|
});
|
||||||
@ -89,8 +89,8 @@ pub unsafe extern "C" fn wasmer_last_error_message(buffer: *mut c_char, length:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct CApiError {
|
pub struct CApiError {
|
||||||
pub(crate) msg: String,
|
pub msg: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Display for CApiError {
|
impl Display for CApiError {
|
||||||
|
@ -118,6 +118,6 @@ pub struct wasmer_limit_option_t {
|
|||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct wasmer_byte_array {
|
pub struct wasmer_byte_array {
|
||||||
bytes: *const u8,
|
pub bytes: *const u8,
|
||||||
bytes_len: u32,
|
pub bytes_len: u32,
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-runtime-core"
|
name = "wasmer-runtime-core"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime core library"
|
description = "Wasmer runtime core library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -10,7 +10,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nix = "0.14.0"
|
nix = "0.14.0"
|
||||||
page_size = "0.4.1"
|
page_size = "0.4.1"
|
||||||
wasmparser = "0.34.0"
|
wasmparser = "0.35.1"
|
||||||
parking_lot = "0.7.1"
|
parking_lot = "0.7.1"
|
||||||
lazy_static = "1.2.0"
|
lazy_static = "1.2.0"
|
||||||
indexmap = "1.0.2"
|
indexmap = "1.0.2"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-runtime"
|
name = "wasmer-runtime"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime library"
|
description = "Wasmer runtime library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -9,17 +9,17 @@ edition = "2018"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.7", optional = true }
|
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.6.0", optional = true }
|
||||||
lazy_static = "1.2.0"
|
lazy_static = "1.2.0"
|
||||||
memmap = "0.7.0"
|
memmap = "0.7.0"
|
||||||
|
|
||||||
[dependencies.wasmer-runtime-core]
|
[dependencies.wasmer-runtime-core]
|
||||||
path = "../runtime-core"
|
path = "../runtime-core"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
|
|
||||||
[dependencies.wasmer-clif-backend]
|
[dependencies.wasmer-clif-backend]
|
||||||
path = "../clif-backend"
|
path = "../clif-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-singlepass-backend"
|
name = "wasmer-singlepass-backend"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
description = "Wasmer runtime single pass compiler backend"
|
description = "Wasmer runtime single pass compiler backend"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -9,8 +9,8 @@ edition = "2018"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
wasmparser = "0.34.0"
|
wasmparser = "0.35.1"
|
||||||
dynasm = "0.3.2"
|
dynasm = "0.3.2"
|
||||||
dynasmrt = "0.3.1"
|
dynasmrt = "0.3.1"
|
||||||
lazy_static = "1.2.0"
|
lazy_static = "1.2.0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-spectests"
|
name = "wasmer-spectests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer spectests library"
|
description = "Wasmer spectests library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -9,10 +9,10 @@ edition = "2018"
|
|||||||
build = "build/mod.rs"
|
build = "build/mod.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.7" }
|
wasmer-clif-backend = { path = "../clif-backend", version = "0.6.0" }
|
||||||
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.7", optional = true }
|
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.6.0", optional = true }
|
||||||
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.7", optional = true }
|
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.6.0", optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
wabt = "0.9.0"
|
wabt = "0.9.0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-wasi-tests"
|
name = "wasmer-wasi-tests"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Tests for our WASI implementation"
|
description = "Tests for our WASI implementation"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -9,19 +9,19 @@ publish = false
|
|||||||
build = "build/mod.rs"
|
build = "build/mod.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
wasmer-wasi = { path = "../wasi", version = "0.5.7" }
|
wasmer-wasi = { path = "../wasi", version = "0.6.0" }
|
||||||
# hack to get tests to work
|
# hack to get tests to work
|
||||||
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.7", optional = true }
|
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.6.0", optional = true }
|
||||||
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.7", optional = true }
|
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.6.0", optional = true }
|
||||||
|
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
glob = "0.2.11"
|
glob = "0.2.11"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.7" }
|
wasmer-clif-backend = { path = "../clif-backend", version = "0.6.0" }
|
||||||
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.7"}
|
wasmer-dev-utils = { path = "../dev-utils", version = "0.6.0"}
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
clif = []
|
clif = []
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-wasi"
|
name = "wasmer-wasi"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime WASI implementation library"
|
description = "Wasmer runtime WASI implementation library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -8,7 +8,7 @@ repository = "https://github.com/wasmerio/wasmer"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
libc = "0.2.50"
|
libc = "0.2.50"
|
||||||
rand = "0.6.5"
|
rand = "0.6.5"
|
||||||
# wasmer-runtime-abi = { path = "../runtime-abi" }
|
# wasmer-runtime-abi = { path = "../runtime-abi" }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-win-exception-handler"
|
name = "wasmer-win-exception-handler"
|
||||||
version = "0.5.7"
|
version = "0.6.0"
|
||||||
description = "Wasmer runtime exception handling for Windows"
|
description = "Wasmer runtime exception handling for Windows"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@ -8,7 +8,7 @@ repository = "https://github.com/wasmerio/wasmer"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.7" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.6.0" }
|
||||||
winapi = { version = "0.3", features = ["winbase", "errhandlingapi", "minwindef", "minwinbase", "winnt"] }
|
winapi = { version = "0.3", features = ["winbase", "errhandlingapi", "minwindef", "minwinbase", "winnt"] }
|
||||||
libc = "0.2.49"
|
libc = "0.2.49"
|
||||||
|
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
PREVIOUS_VERSION='0.5.6'
|
PREVIOUS_VERSION='0.5.7'
|
||||||
NEXT_VERSION='0.5.7'
|
NEXT_VERSION='0.6.0'
|
||||||
|
|
||||||
# quick hack
|
# quick hack
|
||||||
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
|
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
|
||||||
echo "manually check changes to Cargo.toml"
|
echo "manually check changes to Cargo.toml"
|
||||||
|
|
||||||
|
fd wasmer.iss --exec sed -i '' "s/AppVersion=$PREVIOUS_VERSION/AppVersion=$NEXT_VERSION/"
|
||||||
|
echo "manually check changes to wasmer.iss"
|
||||||
|
|
||||||
# Order to upload packages in
|
# Order to upload packages in
|
||||||
## runtime-core
|
## runtime-core
|
||||||
## win-exception-handler
|
## win-exception-handler
|
||||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 958 KiB After Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@ -1,6 +1,6 @@
|
|||||||
[Setup]
|
[Setup]
|
||||||
AppName=Wasmer
|
AppName=Wasmer
|
||||||
AppVersion=0.4.0
|
AppVersion=0.6.0
|
||||||
DefaultDirName={pf}\Wasmer
|
DefaultDirName={pf}\Wasmer
|
||||||
DefaultGroupName=Wasmer
|
DefaultGroupName=Wasmer
|
||||||
Compression=lzma2
|
Compression=lzma2
|
||||||
@ -9,9 +9,9 @@ OutputDir=.\
|
|||||||
DisableProgramGroupPage=yes
|
DisableProgramGroupPage=yes
|
||||||
ChangesEnvironment=yes
|
ChangesEnvironment=yes
|
||||||
OutputBaseFilename=WasmerInstaller
|
OutputBaseFilename=WasmerInstaller
|
||||||
WizardImageFile=..\..\media\wizard_logo_2.bmp
|
WizardImageFile=media\wizard_logo_2.bmp
|
||||||
WizardSmallImageFile=..\..\media\wizard_logo_small.bmp
|
WizardSmallImageFile=media\wizard_logo_small.bmp
|
||||||
SetupIconFile=..\..\media\wizard_logo.ico
|
SetupIconFile=media\wizard_logo.ico
|
||||||
DisableWelcomePage=no
|
DisableWelcomePage=no
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
|
2
wapm-cli
2
wapm-cli
@ -1 +1 @@
|
|||||||
Subproject commit 62ec59a53ca3df84019092a750aeb56e08b9d556
|
Subproject commit b157153568fc45f0d01ba8443c54fc3c2ce0cb23
|
Loading…
Reference in New Issue
Block a user