22 Commits

Author SHA1 Message Date
ptitSeb
3ac431eb3c Fixed FunctionEnv migration doc to 3.0 (#3806) 2023-04-21 09:38:33 +00:00
Michael-F-Bryan
576074914a Renamed all WasiState::new() calls 2023-01-16 15:43:16 +00:00
Christoph Herzog
61190088d2 Partial rebase to wasmer master (non-functional) 2022-11-07 15:15:25 +01: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
Syrus Akbary
3225852547 Update migration_to_3.0.0.md 2022-09-13 08:22:43 -07:00
ptitSeb
1912373e1f The API breaking changes from future WASIX/Network/Threading addition 2022-08-26 10:46:56 +02:00
Felix Schütt
b6a6897ef5 Add proper description of MemoryView API 2022-08-23 15:52:50 +02:00
Felix Schütt
d0dd830306 Initial update for migration-to-3.0.0 for MemoryView 2022-08-23 13:38:08 +02:00
Syrus Akbary
544cbe005d Update migration_to_3.0.0.md 2022-08-16 18:48:17 +02:00
Syrus Akbary
2f177a1cd3 Improved migration guide. Close #3113 2022-08-16 18:47:19 +02:00
Manos Pitsidianakis
ba38b7e214 Add wasi_* C-API function changes in migration guide for 3.0.0
- `wasi_env_new` changed signature
- `wasi_get_imports` changed signature
- `wasi_env_set_memory` was added

Closes #3077
2022-08-10 15:59:46 +03:00
Wolfgang Silbermayr
6b39488b69 Update migration documentation for *_with_env(…) functions 2022-08-05 14:27:44 +02:00
Syrus Akbary
4384ddf9cd Improved EngineBuilder and Store API
- Store::new() now takes an impl Into<Engine>.
- Added Into<Engine> impls in each of the compilers
- Updated docs/migration_to_3.0.0.md on API usage
2022-07-28 15:20:26 +03:00
Manos Pitsidianakis
214346af3b Merge Backend into EngineBuilder and refactor feature flags 2022-07-27 21:03:24 +03:00
Manos Pitsidianakis
4a06b1d3f6 Rename engine's Universal type to Backend
The Universal type was essentially a builder of engines that's given a
compiler backend and creates an Engine with .engine() method. The name
was not clear.
2022-07-25 13:23:13 +03:00
Syrus Akbary
3a1424ec4a Update docs/migration_to_3.0.0.md 2022-07-21 13:51:58 -07:00
Syrus Akbary
dbeebfc6b9 Apply suggestions from code review 2022-07-21 13:50:41 -07:00
Manos Pitsidianakis
46ca6a8171 Update docs/migration_to_3.0.0.md 2022-07-21 14:11:01 +03:00
Syrus Akbary
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
ptitSeb
b5ae6399ce update Migration guide 2022-07-19 15:31:51 +03:00
Manos Pitsidianakis
2f1c61e56b Update CHANGELOG.md and migration_to_3.0.0.md 2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
308d8a0a4b Add docs/migration_to_3.0.0.md 2022-06-08 14:09:40 +03:00