Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for JavascriptCore #3825

Merged
merged 91 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
6d6b47d
Initial implementation of wasmer-jsc
syrusakbary Mar 8, 2023
61e38a1
Got more tests working
syrusakbary Mar 16, 2023
753ba47
Multiple improvements
syrusakbary Mar 16, 2023
4822eda
Got simple tests passing
syrusakbary Mar 16, 2023
d4d24d9
Partially implemented globals
syrusakbary Mar 16, 2023
f5d1e78
Improved number conversion
syrusakbary Mar 16, 2023
33e5f51
Get function call implemented
syrusakbary Mar 16, 2023
0c640b8
Support more extern conversion
syrusakbary Mar 16, 2023
156f118
Fixed error
syrusakbary Mar 16, 2023
f17ac72
Added function call return n
syrusakbary Mar 16, 2023
4132fb8
Get closure working
syrusakbary Mar 16, 2023
2a3b244
Added support for new_typed_with_env
syrusakbary Mar 16, 2023
033a45d
Got all examples except memory working
syrusakbary Mar 16, 2023
57c32f8
Added commant to the capi
syrusakbary Mar 16, 2023
038ce54
Improved c-api features
syrusakbary Mar 16, 2023
9beb456
Change back to old api
syrusakbary Mar 16, 2023
cd81d12
Improved capi
syrusakbary Mar 16, 2023
58828df
Improved dependencies
syrusakbary Mar 16, 2023
195d652
Improved examples
syrusakbary Mar 16, 2023
918398a
Merge branch 'master' into api-jsc
syrusakbary Mar 16, 2023
c6dcdce
Updated cargo
syrusakbary Mar 16, 2023
a830e2e
Plug the real memory implementation
syrusakbary Mar 16, 2023
10e421f
Simplified dependencies
syrusakbary Mar 16, 2023
e0d5068
Improved api
syrusakbary Mar 16, 2023
3e4d551
Merge branch 'master' into api-jsc
syrusakbary Mar 16, 2023
0624c05
Merge branch 'shared-dash-fixes-and-pthreads' into shared-jsc-dash-fi…
syrusakbary Mar 17, 2023
b41b2be
Cleanup JSC API
syrusakbary Mar 17, 2023
16729dc
Allow CLI to compile with JavacriptCore
syrusakbary Mar 17, 2023
6e22525
Merge branch 'master-with-fixes' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Mar 17, 2023
ec6789a
Remove no longer necessary comment on js
syrusakbary Mar 17, 2023
1bc8478
Standardize back custom_sections
syrusakbary Mar 17, 2023
0b4aaab
Fixed type hints
syrusakbary Mar 17, 2023
b7de12e
Reenable tests in macos
syrusakbary Mar 22, 2023
c5bc8ae
Merge branch 'master' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 1, 2023
96e77fa
Fixed changes
syrusakbary Apr 1, 2023
77bedf3
Remove double feature
syrusakbary Apr 1, 2023
7265342
Merge branch 'master' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 8, 2023
3ea5eb0
Merge branch 'wasi-no-vm' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 8, 2023
be5b307
Merge branch 'wasi-no-vm' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 8, 2023
67de35b
Fix wasix memory
syrusakbary Apr 8, 2023
12740a6
Make the cli fully build
syrusakbary Apr 8, 2023
7dfd918
Merge branch 'wasi-no-vm' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 8, 2023
b721468
Removed unnecessary extra shared memory annotations
syrusakbary Apr 8, 2023
6e46d25
Improved duplicate api
syrusakbary Apr 8, 2023
879edbb
Merge branch 'master' into shared-jsc-dash-fixes-and-pthreads
syrusakbary Apr 9, 2023
225f9ee
Remove unwanted-not-useful files
syrusakbary Apr 9, 2023
957d056
Merge branch 'master' into jsc
syrusakbary Apr 14, 2023
d49e5b5
Fixed rusty_jsc
syrusakbary Apr 14, 2023
3b92a04
Added test-capi-jsc
syrusakbary Apr 21, 2023
1cc7d24
Merge branch 'better-errors' into jsc
syrusakbary Apr 23, 2023
868394c
Added errors back into jsc
syrusakbary Apr 23, 2023
a684f31
Get more tests passing
syrusakbary Apr 23, 2023
ad7784c
Trying to debug traps
syrusakbary Apr 23, 2023
60cc772
Make all tests passing
syrusakbary Apr 25, 2023
040c38c
Allow frames in wasm-c-api always
syrusakbary Apr 25, 2023
419a134
Fixed globals
syrusakbary Apr 25, 2023
82270e7
Reenabled commented early-exit test
syrusakbary Apr 25, 2023
7433920
Allow validation and serialization
syrusakbary Apr 25, 2023
0497c6c
Skip message validation in c examples
syrusakbary Apr 25, 2023
12862e2
Make all tests pass
syrusakbary Apr 25, 2023
bb8bdc4
Updated rusty_jsc
syrusakbary Apr 25, 2023
52054a7
Fixed build-wasmer-jsc
syrusakbary Apr 25, 2023
37cab04
Fixed GOT RESULTS
syrusakbary Apr 25, 2023
b5206b1
Remove extra println
syrusakbary Apr 25, 2023
decb9de
Fixed termios not being available in iOS
syrusakbary Apr 25, 2023
d8a2ccc
Updated using latest version of rusty_jsc
syrusakbary Apr 27, 2023
36ac54c
Fixed linting
syrusakbary Apr 27, 2023
b4ca75b
Set dev-dependencies as they were before
syrusakbary Apr 27, 2023
34fbdb5
Added package-capi-jsc command in the makefile
syrusakbary Apr 27, 2023
206342d
Added build for jsc
syrusakbary Apr 27, 2023
a7941a8
Use rusty_jsc from latest master in github
syrusakbary Apr 27, 2023
4259910
Fixed api tests
syrusakbary Apr 27, 2023
45df825
Fixed make test-js
syrusakbary Apr 27, 2023
d9998bd
Fixed linting
syrusakbary Apr 27, 2023
de8cdf7
Fixed duplicate in store duplication
syrusakbary Apr 27, 2023
fee79e2
Remove unused code
syrusakbary Apr 27, 2023
267c6a9
Revert "Fixed duplicate in store duplication"
syrusakbary Apr 27, 2023
bee6c81
Fixed tests
syrusakbary Apr 28, 2023
f0a940b
Remove unused code
syrusakbary Apr 28, 2023
087c31d
Fixed base tests
syrusakbary Apr 28, 2023
c21bad6
Refactored JSC retrieval
syrusakbary Apr 28, 2023
e9fbe3c
Updated rusty_jsc
syrusakbary Apr 28, 2023
3482b69
Remove extra inlines
syrusakbary May 1, 2023
a67d669
Fixed test examples
syrusakbary May 3, 2023
581cd48
Merge branch 'master' into jsc
syrusakbary May 3, 2023
1c53f50
Fixed docs
syrusakbary May 3, 2023
54f086c
Updated lockfile
syrusakbary May 3, 2023
d0b2a48
Revert jsc build
syrusakbary May 3, 2023
91599be
Added jsc builds
syrusakbary May 3, 2023
b2f5318
Remove extra wasmer binary
syrusakbary May 3, 2023
940071d
Rename exec feature to backend
syrusakbary May 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 33 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ jobs:
use_sccache: true
use_llvm: false
build_wasm: false
- build: macos-x64
os: macos-11
artifact_name: 'wasmer-darwin-amd64-jsc'
use_sccache: true
build_jsc: true
- build: macos-arm64
os: macos-11.0
target: aarch64-apple-darwin
artifact_name: 'wasmer-darwin-arm64-jsc'
use_sccache: true
build_jsc: true
- build: windows-x64
os: windows-2019
artifact_name: 'wasmer-windows-amd64'
Expand Down Expand Up @@ -189,33 +200,51 @@ jobs:
echo 'RUSTC_WRAPPER=${{ runner.tool_cache }}/cargo-sccache/bin/sccache' >> $GITHUB_ENV
shell: bash
- name: Build C API headless
if: matrix.build != 'macos-arm64'
if: matrix.build != 'macos-arm64' && matrix.build_jsc != true
shell: bash
run: |
make package-capi-headless
- name: Build C API headless
if: matrix.build == 'macos-arm64'
if: matrix.build == 'macos-arm64' && matrix.build_jsc != true
run: |
make package-capi-headless
env:
TARGET: aarch64-apple-darwin
TARGET_DIR: target/aarch64-apple-darwin/release
- name: Build C API headless
if: matrix.build != 'macos-arm64' && matrix.build_jsc
shell: bash
run: |
make package-capi-jsc
- name: Build C API headless
if: matrix.build == 'macos-arm64' && matrix.build_jsc
run: |
make package-capi-jsc
env:
TARGET: aarch64-apple-darwin
TARGET_DIR: target/aarch64-apple-darwin/release
- name: Build C API
shell: bash
if: matrix.build_jsc != true
run: |
make build-capi
- name: Build Wasmer binary with LLVM
if: matrix.use_llvm
if: matrix.use_llvm && matrix.build_jsc != true
shell: bash
run: |
make build-wasmer
env:
ENABLE_LLVM: 1
- name: Build Wasmer binary without LLVM
if: matrix.use_llvm != true
if: matrix.use_llvm != true && matrix.build_jsc != true
shell: bash
run: |
make build-wasmer
- name: Build Wasmer JSC binary
if: matrix.build_jsc
shell: bash
run: |
make build-wasmer-jsc
#- name: Build Wasmer binary on Wasm32-WASI without LLVM
# if: matrix.build_wasm
# shell: bash
Expand Down
Loading