Commit Graph

1044 Commits

Author SHA1 Message Date
ptitSeb
d08d3c1c95 Updated the other crates too 2023-04-18 16:53:04 +02:00
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
Michael-F-Bryan
aa5709ab05 Upgrade to webc v5.0.0 2023-04-18 19:25:20 +08:00
Michael-F-Bryan
0f067df42b Bump to the latest webc version 2023-04-13 23:44:21 +08:00
Johnathan Sharratt
164c6e2393 Upgrade webc from webc 5.0.0-rc.5 to webc 5.0.0-rc.6 2023-04-07 11:07:53 +10:00
ptitSeb
8dbc260aae Foxed to use crate webc 5.0.0-rc.5 exactly 2023-04-05 13:53:29 +02:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
ptitSeb
c145390caa Bumped crates version pre-beta.2 release (#3743) 2023-04-05 10:45:13 +00:00
Syrus Akbary
1031b9b1b5 Merge branch 'master' into master-with-fixes
# Conflicts:
#	lib/c-api/Cargo.toml
#	lib/cache/Cargo.toml
#	lib/cli/Cargo.toml
#	lib/emscripten/Cargo.toml
#	lib/wasi/Cargo.toml
2023-03-26 19:55:33 -07:00
ptitSeb
d58d158897 Release 3.2.0-beta.1 2023-03-22 19:14:57 +01:00
Michael-F-Bryan
ab2f65c143 Added integration tests for run2 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
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
Syrus Akbary
72c9d7394f Fixed sys/js misused features in wasmer 2023-03-16 14:25:42 -07:00
ptitSeb
d6981ae3a9 Moved vnet-host functions inside virtual-net 2023-03-16 10:56:51 +01:00
ptitSeb
f59ab5caee Renamed virtfs to virtual-fs and virtnet to virtual-net 2023-03-16 09:29:51 +01:00
ptitSeb
21b0bb6c2e Merge branch 'master' into rename_crates 2023-03-15 14:22:04 +01:00
ptitSeb
feb79e4392 Renamed some crates and changed their version to 0.1.0 2023-03-15 14:20:04 +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
ee58d7c2b2 Revert "Update wasmparser to v0.91"
This reverts commit 87232623de.
2023-03-15 01:46:26 +01:00
ptitSeb
87232623de Update wasmparser to v0.91 2023-03-14 20:39:38 +01:00
ptitSeb
ed3895b539 Fix doc, threads are enabled by default now (#3665)
* Fix doc, threads are enabled by default now

* Do not remove enable-thread, just mark at as deprecated
2023-03-08 12:08:19 +00:00
Michael-F-Bryan
7ea729148f Reverted accidental Cargo.toml formatting 2023-03-06 22:56:14 +08:00
Michael-F-Bryan
ca52b2e4f7 We can run a WCGI server locally! 2023-03-06 22:45:50 +08:00
Michael-F-Bryan
b174d60a0f Fix the C API crate 2023-03-06 22:42:56 +08:00
Michael-F-Bryan
649c808afe Miscellaneous refactoring and tidy-ups 2023-03-06 22:42:55 +08:00
Michael-F-Bryan
7303fabf35 Started adding a WcgiRunner implementation to the wasmer-wasi crate 2023-03-06 22:34:15 +08:00
Michael-F-Bryan
7d409f8b07 Upgraded everything to use webc v5 2023-03-06 22:30:51 +08:00
Christoph Herzog
4d0460e2c6 Merge remote-tracking branch 'origin/master' into wasix 2023-02-22 11:15:16 +01:00
Christoph Herzog
34c5bfe124 c-api: wasi_env_delete now cleans up the WasiEnv state
Needed for proper cleanup of state.
2023-02-22 11:04:31 +01:00
ptitSeb
b42cd59814 Use default_fs_backing() filesystem for c-api Wasi config 2023-02-21 18:00:01 +01:00
ptitSeb
0a2137f891 Fix WASI example that initialized wasi_config 2 times 2023-02-21 09:35:37 +08:00
Johnathan Sharratt
9a5dd9fe46 Added a standard file that allows for writes to be intercepted - used by the runtime debugging in Deploy 2023-02-20 14:43:13 +11:00
Johnathan Sharratt
d8c5736e91 Fixed the unit tests around the pipe object 2023-02-20 14:06:22 +11:00
Christoph Herzog
195ea89841 wasi: Rename BidiPipe to DuplexPipe and add helper methods
* Rename BidiPipe to DuplexPipe, because the name is better
* Make the fields private: gives us more flexibility in the future
* Add a split() method and accessors for send and receive
2023-02-16 20:14:59 +01:00
Christoph Herzog
f0dbbc7d72 fix: Add missing import in c_api
Was forgotten during restoring a function from master.
2023-02-16 12:57:50 +01:00
Christoph Herzog
30dc848de8 c-api: Restore wasi_env_set_memory function
Not supported anymore, but better to have it panic instead of just
breaking the API by removing it.
2023-02-15 17:46:10 +01:00
Christoph Herzog
e46c2e6c4b build(c-api): Enable more feature on the wasi dependency
Needed for things to work properly
2023-02-15 14:05:50 +01:00
Christoph Herzog
2cfe241c6a refactor: Rename WasiPipe to Pipe and WasiBidirectionalPipePair to BidiPipe
The vfs is not directly tied to WASI, so naming it after wasi makes no
sense.
2023-02-10 20:22:51 +01:00
Christoph Herzog
7e6a33deaa Rename WasiEnvBuilder::build_func_env back to finalize
Reduce API breakage.
2023-02-09 15:09:56 +01:00
Christoph Herzog
c323919cc4 fix: Fix c-api webc_runner feature
Needed wasi updates
2023-02-09 14:47:09 +01:00
Christoph Herzog
633e18f001 fix: Update c-api to wasi changes
Some builder changes etc
2023-02-09 14:42:43 +01:00
Christoph Herzog
ab99b2cb22 build: Enable sys-thread feature for wasi dep in c-api
It's required at the moment to do anything useful with WASI(X)
2023-02-08 19:52:05 +01:00
Christoph Herzog
c01b8b1a1b fix: Enable wasi/sys-thread feature for c api
Because we are using Tokio and Tokio is our only tested async implementation.
2023-02-08 17:11:10 +01:00
Christoph Herzog
956ad2821a Improve WasiBuilder API
First step in improving the wasi module construction flow.
Lots of steps to follow.
2023-02-08 12:54:08 +01:00
Christoph Herzog
9813ba93f9 wasi: Rename WasiStateBuilder to WasiEnvBuilder
Preparation for removing the two-step construction with WasiState and
WasiEnv
2023-02-07 15:08:11 +01:00
Christoph Herzog
7f8c0858b3 Merge remote-tracking branch 'origin/master' into wasix 2023-02-07 11:38:04 +01:00
ptitSeb
1387363a7b Fix/compile not in memory (#3573)
* Example of allocated artifact
* Better error when Instancing fail because of OS/Arch issue
* Add missing brnach for new error
---------

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2023-02-06 10:28:39 +01:00