Skip to content

Commit

Permalink
Merge branch 'master' into js-api-wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Aug 30, 2021
2 parents 19f5846 + 81c090c commit 167d926
Show file tree
Hide file tree
Showing 79 changed files with 3,315 additions and 386 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test-sys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ jobs:
run_integration_tests: true
use_sccache: true
- build: macos-x64
os: macos-latest
os: macos-11
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/11.x/darwin-amd64.tar.gz'
artifact_name: 'wasmer-darwin-amd64'
cross_compilation_artifact_name: 'cross_compiled_from_mac'
run_test: true
run_test_capi: true
use_sccache: true
run_integration_tests: true
run_ios_tests: true
- build: macos-arm64
os: macos-11.0
target: aarch64-apple-darwin
Expand Down Expand Up @@ -255,6 +256,12 @@ jobs:
export WASMER_DIR=`pwd`/package
make test-integration
if: matrix.run_integration_tests && matrix.os != 'windows-latest'
- name: Run iOS integration tests
run: |
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo install cargo-lipo
make test-integration-ios
if: matrix.run_ios_tests
- name: Cross compile from Linux
if: matrix.build == 'linux-x64'
shell: bash
Expand All @@ -268,7 +275,7 @@ jobs:
#cp qjs_win_from_linux.wjit cross
cp target/release/wasmer cross
- name: Cross compile from Mac
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-11'
shell: bash
run: |
ls target/release
Expand Down Expand Up @@ -323,7 +330,7 @@ jobs:
test-cross-compile-on-mac:
name: Test cross-compile on macos
needs: [setup, test]
runs-on: macos-latest
runs-on: macos-11
steps:
- name: Download Wasmer
uses: actions/download-artifact@v2
Expand Down
18 changes: 10 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C
## **[Unreleased]**

### Added
- [#2427](https://github.com/wasmerio/wasmer/pull/2427) Wasmer can now compile to Javascript via `wasm-bindgen`. Use the `js-default` (and no default features) feature to try it!
- [#2436](https://github.com/wasmerio/wasmer/pull/2436) Added the x86-32 bit variant support to LLVM compiler
- [#2535](https://github.com/wasmerio/wasmer/pull/2427) Added iOS support for Wasmer. This relies on the `dylib-engine`.
- [#2427](https://github.com/wasmerio/wasmer/pull/2427) Wasmer can now compile to Javascript via `wasm-bindgen`. Use the `js-default` (and no default features) feature to try it!.
- [#2436](https://github.com/wasmerio/wasmer/pull/2436) Added the x86-32 bit variant support to LLVM compiler.

### Changed
- [#2460](https://github.com/wasmerio/wasmer/pull/2460) **breaking change** `wasmer` API usage with `no-default-features` requires now the `sys` feature to preserve old behavior
- [#2476](https://github.com/wasmerio/wasmer/pull/2476) Removed unncessary abstraction `ModuleInfoTranslate` from `wasmer-compiler`
- [#2442](https://github.com/wasmerio/wasmer/pull/2442) Improved `WasmPtr`, added `WasmCell` for host/guest interaction
- [#2460](https://github.com/wasmerio/wasmer/pull/2460) **breaking change** `wasmer` API usage with `no-default-features` requires now the `sys` feature to preserve old behavior.
- [#2476](https://github.com/wasmerio/wasmer/pull/2476) Removed unncessary abstraction `ModuleInfoTranslate` from `wasmer-compiler`.
- [#2442](https://github.com/wasmerio/wasmer/pull/2442) Improved `WasmPtr`, added `WasmCell` for host/guest interaction.
- [#2427](https://github.com/wasmerio/wasmer/pull/2427) Update `loupe` to 0.1.3.
- [#2478](https://github.com/wasmerio/wasmer/pull/2478) Rename `wasm_instance_new()`’s “traps” argument to “trap”.

### Fixed
- [#2494](https://github.com/wasmerio/wasmer/pull/2494) Fixed `WasmerEnv` access when using `call_indirect` with the Singlepass compiler
- [#2449](https://github.com/wasmerio/wasmer/pull/2449) Fixed `wasmer-c-api` used `soname`
- [#2479](https://github.com/wasmerio/wasmer/pull/2479) Improved `wasmer validate` error message on non-wasm inputs
- [#2518](https://github.com/wasmerio/wasmer/pull/2518) Remove temporary file used to creating an artifact when creating a Dylib engine artifact.
- [#2494](https://github.com/wasmerio/wasmer/pull/2494) Fixed `WasmerEnv` access when using `call_indirect` with the Singlepass compiler.
- [#2449](https://github.com/wasmerio/wasmer/pull/2449) Fixed `wasmer-c-api` used `soname`.
- [#2479](https://github.com/wasmerio/wasmer/pull/2479) Improved `wasmer validate` error message on non-wasm inputs.
- [#2454](https://github.com/wasmerio/wasmer/issues/2454) Won't set `WASMER_CACHE_DIR` for Windows.
- [#2426](https://github.com/wasmerio/wasmer/pull/2426) Fix the `wax` script generation.

Expand Down
Loading

0 comments on commit 167d926

Please sign in to comment.