Commit Graph

1125 Commits

Author SHA1 Message Date
29a4e07ecc Merge branch 'master' into fast-ci 2022-12-19 08:12:13 +01:00
e1c42b5f90 Revert "Revert "Implement wasmer init and wasmer publish""
This reverts commit 250ebff4e8.
2022-12-16 23:40:17 +01:00
250ebff4e8 Revert "Implement wasmer init and wasmer publish" 2022-12-16 14:09:55 -08:00
bf1971f062 Merge branch 'master' into fast-ci 2022-12-16 22:03:36 +01:00
bb2acdb37b Add wabt for testing multi-command exe 2022-12-16 12:38:26 +01:00
9b6c0bb716 Restore C api wasi from master
Wasi changes are reserved for the full merge.
2022-12-16 11:47:05 +01:00
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
17be14493b Fix a bunch of clippy warnings. 2022-12-13 13:22:09 +01:00
654ee49226 deps: Use newest webc release (0.4.1) 2022-12-13 11:10:34 +01:00
173e48601c Merge remote-tracking branch 'origin/master' into wasix 2022-12-13 01:40:22 +01:00
870a20d47f Merge branch 'master' into fast-ci 2022-12-12 21:32:38 +01:00
f6abf5122e Merge branch 'master' into init 2022-12-12 20:46:04 +01:00
6892965e36 wapm.toml -> wasmer.toml 2022-12-12 14:33:49 +01:00
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
7529d98fce Debug why linker invocation doesn't work 2022-12-07 14:55:43 +01:00
b6bb189ce0 Configure missing WASMER_DIR 2022-12-07 14:55:43 +01:00
9d1d3af213 Fix cargo lcov invocation 2022-12-07 14:55:43 +01:00
6c478f8850 llvm-cov target: set proper shared object directory 2022-12-07 14:55:43 +01:00
5ecf315018 Fix target llvm-cov-target to compile 2022-12-07 14:55:43 +01:00
2e06f3b1f5 Re-add Makefiles 2022-12-07 14:55:43 +01:00
f44f7071d1 Add cargo test-integration and test-capi impl 2022-12-07 14:55:43 +01:00
eb60a96bcf Merge branch 'master' into wasix-merge 2022-12-06 13:22:09 +01:00
88ec6ed82e implement wasm_importtype_copy
Signed-off-by: Felix Schütt <felix@wasmer.io>
2022-12-02 18:01:31 +01:00
8f76b6780c Downgrade webc: 3.0.2 -> 3.0.1 2022-11-25 21:36:23 +01:00
b70f6e9052 Release 3.0.2 2022-11-25 21:30:20 +01:00
27f3300fef Release 3.0.1 2022-11-23 01:14:06 +01:00
36e39b3a3d Implement capture_stdout and inherit_stdout correctly 2022-11-22 23:33:19 +01:00
1841ee5a99 build: Replace webc path dependencies with a patch in root Cargo.toml 2022-11-22 06:45:06 +01:00
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
3806ffe7c1 Make PR mergeable 2022-11-21 20:43:21 +01:00
90e563bce4 Improved linting 2022-11-21 11:26:08 -08:00
0a1a71fd6e Revert #3145
This reverst buggy commit e1e08f44b7
2022-11-21 11:09:19 -08:00
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
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00
820b83e56b Update 3.0.0-rc.2 -> 3.0.0-rc.3 2022-11-18 19:50:41 +01:00
7142542230 Replace path dependency to webc (again) 2022-11-17 12:13:51 +01:00
2595132d05 Resolved all the merge conflicts 2022-11-12 00:08:27 +11:00
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
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00
37f88c97e5 Fix cargo deny 2022-10-28 14:34:41 +02:00
178f469506 Fix make lint 2022-10-28 11:48:53 +02:00
a3f833fc40 Fix compilation bugs with webc 2022-10-28 11:23:23 +02:00
d2d3b4e9fd Remove .cargo/config 2022-10-27 18:52:55 +02:00
7e76db8490 Fixed most dependency errors 2022-10-27 18:42:32 +02:00
6d404dee25 Move runners into wasmer/api crate 2022-10-27 18:16:32 +02:00
87aa82f33b cargo fmt 2022-10-27 17:24:37 +02:00
48cdaf3ffc Add python.wasmer 2022-10-27 09:02:46 +02:00
e8977ed335 cargo clippy --fix 2022-10-26 18:11:33 +02:00
1e2617ca18 Add feature=pirita_file 2022-10-26 17:44:21 +02:00