Commit Graph

967 Commits

Author SHA1 Message Date
Christoph Herzog
a6fa558e8a Merge branch 'wasix-core-changes' into wasix 2022-12-27 15:08:37 +01:00
Christoph Herzog
a499deadeb Bump webc to 4.0.0
The earlier 0.4.1 downgrade was a "hack".
There alrady is a 3.x version that was used previously, but is broken.
We replaced that with 0.4.1, which was the latest publish, but we can't
downgrade to a previous version...

So 0.4.1 was re-relased as 4.0.0.
2022-12-22 16:38:05 +01:00
Christoph Herzog
cfa3bf4200 Merge remote-tracking branch 'origin/master' into wasix-core-changes 2022-12-22 13:51:14 +01:00
Felix Schütt
e1c42b5f90 Revert "Revert "Implement wasmer init and wasmer publish""
This reverts commit 250ebff4e8.
2022-12-16 23:40:17 +01:00
Syrus Akbary
250ebff4e8 Revert "Implement wasmer init and wasmer publish" 2022-12-16 14:09:55 -08:00
Christoph Herzog
9b6c0bb716 Restore C api wasi from master
Wasi changes are reserved for the full merge.
2022-12-16 11:47:05 +01:00
Christoph Herzog
5109a407c4 WASIX Preparation
This commit extracts changes to core libraries made in the WASIX branch.

It is not reasonable to extract the partial commit history, so this is
just a batch commit.

The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Christoph Herzog
17be14493b Fix a bunch of clippy warnings. 2022-12-13 13:22:09 +01:00
Christoph Herzog
654ee49226 deps: Use newest webc release (0.4.1) 2022-12-13 11:10:34 +01:00
Christoph Herzog
173e48601c Merge remote-tracking branch 'origin/master' into wasix 2022-12-13 01:40:22 +01:00
Felix Schütt
f6abf5122e Merge branch 'master' into init 2022-12-12 20:46:04 +01:00
Felix Schütt
6892965e36 wapm.toml -> wasmer.toml 2022-12-12 14:33:49 +01:00
Felix Schütt
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
Christoph Herzog
eb60a96bcf Merge branch 'master' into wasix-merge 2022-12-06 13:22:09 +01:00
Paul
88ec6ed82e implement wasm_importtype_copy
Signed-off-by: Felix Schütt <felix@wasmer.io>
2022-12-02 18:01:31 +01:00
Felix Schütt
8f76b6780c Downgrade webc: 3.0.2 -> 3.0.1 2022-11-25 21:36:23 +01:00
Felix Schütt
b70f6e9052 Release 3.0.2 2022-11-25 21:30:20 +01:00
Felix Schütt
27f3300fef Release 3.0.1 2022-11-23 01:14:06 +01:00
Felix Schütt
36e39b3a3d Implement capture_stdout and inherit_stdout correctly 2022-11-22 23:33:19 +01:00
Christoph Herzog
1841ee5a99 build: Replace webc path dependencies with a patch in root Cargo.toml 2022-11-22 06:45:06 +01:00
John Sharratt's Shared Account
0b4affaa91 - Fixed an issue where the WebC caching was active for JS
- Fixed an issue with tokio missing io-util on JS builds
- Fixed an issue where duplicate stdio file descriptors was not preserving the is_stdio flag
- Added a text file that describes a suite of integration tests for WASIX
- Added compiled WASIX programs used for testing purposes
2022-11-22 12:26:37 +11:00
Felix Schütt
3806ffe7c1 Make PR mergeable 2022-11-21 20:43:21 +01:00
Syrus Akbary
90e563bce4 Improved linting 2022-11-21 11:26:08 -08:00
Syrus Akbary
0a1a71fd6e Revert #3145
This reverst buggy commit e1e08f44b7
2022-11-21 11:09:19 -08:00
John Sharratt's Shared Account
6774f2dfae - Converted the block_on method to another trait for better code reuse
- Fixed the wasi_wast unit tests which were not async
- Fixed an issue with the stack capture and restore syscalls
- Fixed a deadlock on the event notification read syscall
- Fixed some missing stderr messages on execution failures
- Implemented some cleanup calls when a WASI process exits
- Fixed an issue where too many file descriptors were being opened when vforking
- Fixed the stdin and stdout host implementations which were not working
- Removed wai-bindgen-rust as a dependency as it does not compile on the browser (even when optional)
2022-11-21 16:58:13 +11:00
Felix Schütt
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
Felix Schütt
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00
Felix Schütt
820b83e56b Update 3.0.0-rc.2 -> 3.0.0-rc.3 2022-11-18 19:50:41 +01:00
Christoph Herzog
7142542230 Replace path dependency to webc (again) 2022-11-17 12:13:51 +01:00
John Sharratt's Shared Account
2595132d05 Resolved all the merge conflicts 2022-11-12 00:08:27 +11:00
John Sharratt's Shared Account
572ea3e9cd Changes required to bring in full WASIX support
- Implemented multi-threading for both JS and SYS, plus other WASIX implementations
- Added a longjmp capability required for bash and other WASIX implementations
- Added real signals to WASIX
- Added a stack unwinding and winding functionality
- Implemented memory forking which will be used for process forking
- Added the ability to fork the current process
- Added the vfork functionality
- Moved over to the WasiPipe implementation
- Added more syscalls needed for bash on WASIX
- Ported wasmer-os into wasmer
- Added a union file system and the character devices
- Moved the cursors to the file handles rather than the file so that they are multithread safe and can handle concurrent IO
- Reimplemented the poll_oneoff functionality to support full ASYNC
- Added support for mapping directories in the host file system into WASIX sandbox file systems
- Implemented fully ASYNC sockets and emulated ASYNC files
- Made the file locks more granular to allow for concurrent poll and accept operations
- Fixed a race condition on the event notifications
2022-11-07 15:11:29 +01:00
Felix Schütt
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00
Felix Schütt
37f88c97e5 Fix cargo deny 2022-10-28 14:34:41 +02:00
Felix Schütt
178f469506 Fix make lint 2022-10-28 11:48:53 +02:00
Felix Schütt
a3f833fc40 Fix compilation bugs with webc 2022-10-28 11:23:23 +02:00
Felix Schütt
d2d3b4e9fd Remove .cargo/config 2022-10-27 18:52:55 +02:00
Felix Schütt
7e76db8490 Fixed most dependency errors 2022-10-27 18:42:32 +02:00
Felix Schütt
6d404dee25 Move runners into wasmer/api crate 2022-10-27 18:16:32 +02:00
Felix Schütt
87aa82f33b cargo fmt 2022-10-27 17:24:37 +02:00
Felix Schütt
48cdaf3ffc Add python.wasmer 2022-10-27 09:02:46 +02:00
Felix Schütt
e8977ed335 cargo clippy --fix 2022-10-26 18:11:33 +02:00
Felix Schütt
1e2617ca18 Add feature=pirita_file 2022-10-26 17:44:21 +02:00
Felix Schütt
8ee578fb5d Update package versions 2022-10-25 12:54:45 +02:00
Felix Schütt
e268ad179c Merge branch 'master' into wasmer-vv 2022-10-25 11:28:06 +02:00
Felix Schütt
0abbf0d1eb Add working unit test 2022-10-24 17:57:06 +02:00
Felix Schütt
912bb93613 Adress review comments 2022-10-24 17:45:21 +02:00
Felix Schütt
2f61896e6d Add integration test for running directory 2022-10-19 15:59:18 +02:00
Felix Schütt
c98f56dfea Merge branch 'master' into wasm-frame-t 2022-10-18 18:30:21 +02:00
Felix Schütt
05d74ea3fb Fix WASI pipe to properly store read bytes in temp_buffer 2022-10-17 14:10:15 +02:00
Felix Schütt
f6fa5b7cde "config" -> "wasi_config" 2022-10-14 21:33:13 +02:00