Commit Graph

20 Commits

Author SHA1 Message Date
44a7e8419b Fixed errors 2023-04-22 01:48:56 -07:00
096f33b4d0 Trying to improve the errors 2023-04-22 01:20:39 -07:00
a6fa558e8a Merge branch 'wasix-core-changes' into wasix 2022-12-27 15:08:37 +01:00
b24025ad01 cargo clippy --fix --all 2022-12-21 00:49:45 +01:00
173e48601c Merge remote-tracking branch 'origin/master' into wasix 2022-12-13 01:40:22 +01:00
de03d35205 Added test for singlepass arm64 'sub xsp, xsp, reg' emitter fix 2022-12-09 14:32:13 +01: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
25d6a49f1c fmt 2022-10-05 18:42:38 +03:00
7b49e4d6d6 fix popcnt for m1 and add test 2022-09-30 17:02:30 +03:00
7df3e3ca23 Rename {native,typed} functions, reintroduce *_with_env variants 2022-08-05 14:27:44 +02:00
5aa356f222 Fixed a memory corruption issue with JS memory operations that were reusing invalid views 2022-07-31 20:31:41 +10:00
a419ccdf52 Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
2022-07-19 15:31:51 +03:00
267a09ce8e Migrate compiler tests to the new Context API 2022-07-19 15:31:51 +03:00
0cd9dfe3e0 Fixed linter warnings/errors 2022-06-15 19:26:57 +03:00
8aa225a192 api/sys: Replace ImportObject with new type Imports 2022-06-08 14:09:40 +03:00
008c6720d7 tests/compilers/issues.rs: update broken Memory API usage 2022-06-08 14:09:40 +03:00
13a926adc6 regression test for GPR exhaustion during calls 2022-01-24 20:37:28 +02:00
6dc24623e3 Regression test for #2721
The wasm snippet in the test corresponds to roughly:

```rust
let name = "bananapeach";
banana(a, b, c, name.len() as _, name.as_ptr() as _, f, g, h);
```

however sometime between 2.0 and 2.1 the name pointer is no longer being
passed through as an argument. Instead a 0 gets passed in.

To make things weirder, if `name.as_ptr()` is passed through multiple
times, the second time the pointer will get passed correctly.
2021-12-14 14:44:51 +02:00
e0fce0ae9d Use test that trigger issue 2021-07-28 17:05:46 -07:00
69cdfbb134 Added issues to test in compilers 2021-07-28 14:41:22 -07:00