Syrus Akbary
ec93db90dd
Remove no longer necessary comment on js
2023-03-17 13:54:20 -07:00
Syrus Akbary
4857303dc3
Multiple fixes
2023-03-17 13:28:19 -07:00
Syrus Akbary
c3ff83a3ef
Minor styling
2023-03-16 17:38:24 -07:00
Syrus Akbary
ae07aac062
Improved JS API type conversion
2023-03-16 17:37:46 -07:00
Syrus Akbary
499777fc15
Merge branch 'master-with-fixes' into shared-dash-fixes-and-pthreads
...
# Conflicts:
# lib/wasi/Cargo.toml
# lib/wasi/src/runtime/mod.rs
# lib/wasi/src/runtime/task_manager/mod.rs
# lib/wasi/src/runtime/task_manager/tokio.rs
# lib/wasi/src/syscalls/wasix/proc_fork.rs
# lib/wasi/src/syscalls/wasix/thread_spawn.rs
2023-03-16 16:27:27 -07:00
Syrus Akbary
a5500fbc6f
Move memory store cloning into the wasmer crate
2023-03-16 15:23:16 -07:00
Johnathan Sharratt
9c20584832
Merge branch 'master' into dash-fixes-and-pthreads
2023-03-16 01:33:17 +01:00
ptitSeb
b8386fb641
Merge branch 'master' into fix_memoryview_lifetime
2023-03-15 15:59:29 +01:00
ptitSeb
f8c0910c33
Update wasmparser to v0.95 ( #3682 )
...
* Update wasmparser to v0.95
* Update lib/compiler/src/translator/module.rs
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
---------
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2023-03-15 11:15:58 +01:00
Christoph Herzog
fb7497b2b9
Revert "Fixed js build"
...
This reverts commit 373ee14098 .
2023-03-15 01:46:42 +01:00
Christoph Herzog
ee58d7c2b2
Revert "Update wasmparser to v0.91"
...
This reverts commit 87232623de .
2023-03-15 01:46:26 +01:00
Johnathan Sharratt
ca7be7a075
Merge branch 'master' into dash-fixes-and-pthreads
2023-03-15 03:24:09 +01:00
Johnathan Sharratt
46a03880d4
Merge branch 'master' into deploy
2023-03-15 03:22:44 +11:00
ptitSeb
373ee14098
Fixed js build
2023-03-14 22:54:51 +01:00
ptitSeb
87232623de
Update wasmparser to v0.91
2023-03-14 20:39:38 +01:00
Johnathan Sharratt
8b21135ea4
Added some extra parameters to pass to the web threading pool
2023-03-12 12:56:19 +11:00
Johnathan Sharratt
e0d884b578
Fixed an issue where the exit codes were not being properly returned by forked processes and their corresponding joins
2023-03-12 06:25:07 +11:00
Johnathan Sharratt
665230f13f
Improvements to the snapshot tests and added extra validation of the memory in the fork example
2023-03-12 04:36:52 +11:00
Johnathan Sharratt
1dfddf81c0
No longer causing a panic when globals are set to null in JS
2023-03-10 16:44:54 +11:00
Johnathan Sharratt
4abbec71c1
Merge remote-tracking branch 'origin/master' into dash-fixes-and-pthreads
2023-03-09 16:14:53 +11:00
Johnathan Sharratt
5442c4844a
Fixes for the dash and bash snapshot tests
2023-03-09 10:23:01 +11:00
ptitSeb
241504f200
Fixed merge issues
2023-03-08 17:22:14 +01:00
ptitSeb
4bf34da06f
Merge branch 'master' into fix_memoryview_lifetime
2023-03-08 15:35:32 +01:00
ptitSeb
4059e66fb1
Fix doc build ( #3668 )
2023-03-08 13:40:37 +00:00
ptitSeb
627a726934
Fixed building with with just the sys feature ( #3659 )
...
Fixed building with 'cargo build --no-default-features --features=sys --manifest-path=lib/api/Cargo.toml'
2023-03-07 16:00:06 +01:00
Johnathan Sharratt
6dde2831a0
Improvements to the tracing and logging in wasmer
...
- Now using the fmt subscriber for improved formatting
- Using spans on all syscalls
- Added recorded fields on the spans instead trace and debug macros
- Adding timing on all syscall
2023-03-07 11:15:15 +00:00
Syrus Akbary
e61c206bb2
Merge branch 'master' into std-api
2023-03-06 20:50:10 -08:00
Syrus Akbary
0a31d66c95
Make WasmRef/WasmSlice access uniform
2023-03-06 20:42:14 -08:00
Syrus Akbary
07eb2f6ad7
Improved mem_access
2023-03-06 19:31:58 -08:00
Christoph Herzog
5e73761c22
deps: Remove tempdir dependency
...
We already depend on `tempfile`, which also provides temp dir
functionality.
This gets rid of a cargo-deny error due to a race condition in
remove_dir_all, which is a dependency of the removed "tempdir" crate.
Also bumps the minimum tempfile version in Cargo.toml files to be
consistent.
2023-03-06 07:59:16 +00:00
Syrus Akbary
acd0f1fcd3
Merge branch 'master' into std-api
...
# Conflicts:
# lib/api/src/js/mem_access.rs
# lib/api/src/lib.rs
# lib/api/src/mem_access.rs
# lib/api/src/ptr.rs
2023-03-05 20:25:51 -08:00
Syrus Akbary
6ac35fd241
Fix linting
2023-03-03 19:20:29 -08:00
Syrus Akbary
8cbd9b6982
Added extra comments on what can be Send/Sync
2023-03-03 13:50:15 -08:00
Johnathan Sharratt
09dcef2b70
Merge remote-tracking branch 'origin' into zero-mem-copy
2023-03-03 17:58:07 +11:00
Johnathan Sharratt
f9296e4e57
Lint fixes
2023-03-03 17:57:01 +11:00
Johnathan Sharratt
d4601028ef
Merge branch 'master' into zero-mem-copy
2023-03-03 17:56:06 +11:00
Johnathan Sharratt
59b37e4b75
Fixed for the JS version
2023-03-03 17:52:05 +11:00
Johnathan Sharratt
f1c31c65ca
All IO operates are now zero copy when on non-browsers while browsers still copy bytes
2023-03-03 16:04:09 +11:00
Syrus Akbary
69f5ec3981
Fixed missing api
2023-03-02 15:14:48 -08:00
Syrus Akbary
01dc38e677
Improved BigInt support
2023-03-02 14:28:23 -08:00
Syrus Akbary
61ca01d341
Fix linting errors
2023-03-02 14:26:06 -08:00
Syrus Akbary
7440c428a7
Trying to add support for BigInt
2023-03-02 14:05:26 -08:00
Syrus Akbary
9719630f0a
Improved linting
2023-03-02 11:49:00 -08:00
Johnathan Sharratt
5646a4d050
Last fixes to restore web functionality
2023-03-02 18:47:53 +00:00
Johnathan Sharratt
e9564d2439
Fixed a bug on the process join callback and the globals
2023-03-02 18:47:53 +00:00
Johnathan Sharratt
10c6c0b658
Fixed an issue where the globals were not being properly captured and restored for JS
2023-03-02 18:47:53 +00:00
Johnathan Sharratt
e2276c1e7e
The VMMemory must be convertable into a JsValue
2023-03-02 18:47:53 +00:00
Syrus Akbary
cbdf356c0b
Merge branch 'std-api' into wasix-fixes-for-web-with-unification
...
# Conflicts:
# lib/api/src/js/externals/global.rs
# lib/api/src/js/vm.rs
# lib/wasi/src/bin_factory/exec.rs
# lib/wasi/src/bin_factory/module_cache.rs
# lib/wasi/src/runtime/task_manager/mod.rs
2023-03-01 21:16:18 -08:00
Johnathan Sharratt
2511d65830
Merge branch 'master' into wasix-fixes-for-web
2023-03-02 03:53:18 +01:00
Johnathan Sharratt
06524345c7
Last fixes to restore web functionality
2023-03-02 10:57:44 +11:00