Michael-F-Bryan
ab2f65c143
Added integration tests for run2
2023-03-22 01:23:35 +08:00
Michael-F-Bryan
6b624af5d4
Fixed some broken links that caused "cargo doc" to fail
2023-03-22 01:23:35 +08:00
Michael-F-Bryan
06a4daede7
Revert some unnecessary Cargo.toml formatting
2023-03-22 01:23:35 +08:00
Michael-F-Bryan
e1c098ce53
Started implementing version 2 of "wasmer run"
2023-03-22 01:23:34 +08:00
Michael-F-Bryan
b0e182aa7c
We can run a WCGI server locally!
2023-03-22 01:23:34 +08:00
Michael-F-Bryan
414146c36b
Fix the C API crate
2023-03-22 01:23:34 +08:00
Michael-F-Bryan
db2a66110c
Miscellaneous refactoring and tidy-ups
2023-03-22 01:23:34 +08:00
Christoph Herzog
4a99b50af8
Remove PluggableRuntime::default()
...
We don't want this impl anymore, because the user should be forced to
supply the virtual task manager manually so they are cognizent of the
fact they WASIX is running on an async runtime.
2023-03-21 17:20:27 +00:00
Christoph Herzog
70a167f1e7
chore: Remove sys feature gate on WasiRuntime::engine
...
No longer necessary due to Wasmer unification
2023-03-21 17:20:27 +00:00
Christoph Herzog
ffacc03ded
refactor(wasi): Rename PluggableRuntimeImplementation to PluggableRuntime
...
The *Implementation suffix is just pure noise.
2023-03-21 17:20:27 +00:00
Johnathan Sharratt
c7d253309b
Added more comments for the shared runtime behaviour which will also trigger the integration tests again
2023-03-21 11:28:10 +00:00
Johnathan Sharratt
87f3a48419
Modified the shared tokio runtime so that they can be set before they are lazy loaded thus allowing the caller to pass in their own runtime
2023-03-21 11:28:10 +00:00
Syrus Akbary
e12dd07c26
Improve docs for Wasmer module
2023-03-20 16:19:25 -07:00
ptitSeb
3b32ea1642
Merge branch 'master' into increase_current_version
2023-03-20 18:13:47 +01:00
ptitSeb
3413617a50
Don't error out on webc/wasi run when exiting normaly ( #3691 )
2023-03-20 18:13:17 +01:00
ptitSeb
cf3059716e
Increased CURRENT_VERSION to 3
2023-03-20 14:40:06 +01:00
Syrus Akbary
1940c5660b
Fix cli compiler
2023-03-17 14:26:30 -07:00
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
dbe01dd1c3
Merge branch 'master' into master-with-fixes
2023-03-17 12:22: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
a4b8eab5fc
Improved linting a bit
2023-03-16 15:31:12 -07:00
Syrus Akbary
b36c4f4724
Fixed lints
2023-03-16 15:28:55 -07:00
Syrus Akbary
a5500fbc6f
Move memory store cloning into the wasmer crate
2023-03-16 15:23:16 -07:00
Johnathan Sharratt
fc7a5ad099
Fixed the error code check - someone really needs to refactor this
2023-03-17 08:46:48 +11:00
Syrus Akbary
c00f1fda65
Fixed CLI sys
2023-03-16 14:34:05 -07:00
Syrus Akbary
5a4017bd0d
Fixed dangling type
2023-03-16 14:26:52 -07:00
Syrus Akbary
cd8422f799
Remove unused wasi code
2023-03-16 14:26:09 -07:00
Syrus Akbary
9308f20707
Use singlepass in macOS M1 if available
2023-03-16 14:26:01 -07:00
Syrus Akbary
72c9d7394f
Fixed sys/js misused features in wasmer
2023-03-16 14:25:42 -07:00
Johnathan Sharratt
1531645351
Fixed linting issues
2023-03-17 08:20:42 +11:00
Johnathan Sharratt
e2bf8deabc
Merge branch 'master' into dash-fixes-and-pthreads
2023-03-17 04:23:38 +11:00
Johnathan Sharratt
781d8616a4
Added the ability to supply ones own webc packages to wasmer
2023-03-17 03:41:19 +11:00
Johnathan Sharratt
461c208c15
Moved the process exit to after the WASI cleanup and added some flushing of stdout and stderr
2023-03-17 00:45:33 +11:00
ptitSeb
cf682fa32a
Merge branch 'master' into rename_crates
2023-03-16 14:21:38 +01:00
ptitSeb
c979d6f00c
Adapted a doc test of overlay-fs
2023-03-16 14:21:10 +01:00
Johnathan Sharratt
7afc8691e6
Merge branch 'master' into dash-fixes-and-pthreads
2023-03-16 14:12:19 +01:00
Rudra Arora
94c2bed075
replaced wrapping sub with saturating sub to clamp to zero
2023-03-16 12:58:10 +00:00
Rudra Arora
c2ad492546
code doc comment changed to simple comment
2023-03-16 12:58:10 +00:00
Rudra Arora
0dd41dcc74
fix module cache negative delta
2023-03-16 12:58:10 +00:00
ptitSeb
3a4d05a802
Merge branch 'master' into rename_crates
2023-03-16 13:23:49 +01:00
Johnathan Sharratt
3ba3f41a6f
Merge branch 'master' into dash-fixes-and-pthreads
2023-03-16 12:41:15 +01:00
Michael-F-Bryan
6fb20e4981
Applied suggestions from @theduke
2023-03-16 18:08:51 +08:00
Michael-F-Bryan
6cbaa0ab72
Moved the FileSystemExt trait into its own top-level functions
2023-03-16 18:08:51 +08:00
Michael-F-Bryan
b30024fc7f
renamed iter_filesystems() to filesystems()
2023-03-16 18:08:51 +08:00
Michael-F-Bryan
eda8807a3a
Fixed a doctest
2023-03-16 18:08:50 +08:00
Michael-F-Bryan
0184baa7c9
Added tests for #3678
2023-03-16 18:08:50 +08:00
Michael-F-Bryan
a9d752d93c
The WASI runner test now mounts to separate folders
2023-03-16 18:08:50 +08:00