Commit Graph

38 Commits

Author SHA1 Message Date
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
Wolfgang Silbermayr
89bba319a9 No longer require FunctionEnvMut for new_typed(…) callback function 2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
566c897e57 Remove FunctionEnvMut for Function::new(…) 2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
7df3e3ca23 Rename {native,typed} functions, reintroduce *_with_env variants 2022-08-05 14:27:44 +02: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
267a09ce8e Migrate compiler tests to the new Context API 2022-07-19 15:31:51 +03:00
Manos Pitsidianakis
168e330260 Renamed get_native_function to get_typed_function, marked former as deprecated. 2022-07-19 15:31:51 +03:00
ptitSeb
0cd9dfe3e0 Fixed linter warnings/errors 2022-06-15 19:26:57 +03:00
Wolfgang Silbermayr
da4e9fe617 Rename NativeFunc to TypedFunction
Closes: #2915
2022-06-08 14:12:51 +03:00
Syrus Akbary
67188ed41b Added serial test macro for serial tests 2021-05-19 13:09:47 -07:00
Syrus Akbary
c2e11d8499 Compiler Test refactor now fully works 2021-05-15 20:34:21 -07:00
Syrus
a7367ea7e2 Fixed lint 2021-05-01 00:42:53 -07:00
Syrus
19ec7edb26 Added extra test to verify that works 2021-05-01 00:41:41 -07:00
Nick Lewycky
5892d06a44 Fix lint warnings about unnecessary trailing semicolons. 2021-01-21 22:15:20 -08:00
Mark McCaskey
62d15fae36 Merge branch 'master' into fix/host-func-env-memory-leak 2020-12-15 08:37:18 -08:00
Simon Warta
69f834a9e8 Accept Into<FunctionType> as signatures 2020-12-14 13:08:15 +01:00
Mark McCaskey
6e95c50dc2 Address feedback 2020-12-08 11:02:26 -08:00
Mark McCaskey
e43d9d2732 Experimental: clone host envs during construction 2020-12-04 16:04:03 -08:00
Mark McCaskey
2d74536661 Add test for dynamic fn using WasmerEnv 2020-12-01 16:43:19 -08:00
Mark McCaskey
de6cb9c4c4 Merge branch 'master' into feature/host-env-prototype 2020-11-20 15:54:35 -08:00
Mark McCaskey
84370c7930 Merge branch 'master' into feature/make-env-immutable 2020-11-18 15:40:11 -08:00
Mark McCaskey
37d0c364e6 Clean up code, reduce memory usage, improve correctness 2020-11-18 15:21:59 -08:00
Mark McCaskey
3580f165e8 Rename WasmerEnv::finish to WasmerEnv::init_with_instance 2020-11-17 17:14:11 -08:00
Mark McCaskey
a19705ae11 Remove free method, call finalizers in C API 2020-11-16 16:36:58 -08:00
Mark McCaskey
83008a7771 Fix up error handling code, get tests passing 2020-10-29 11:13:51 -07:00
Mark McCaskey
103ea03536 Rename trait, get tests running 2020-10-20 15:40:51 -07:00
Nick Lewycky
259c928c25 Thread canonicalize_nans through these utils functions and into the callers. 2020-10-16 17:01:40 -07:00
Mark McCaskey
a97f339687 Make Function Env immutable
Work in progress, we still have to update Emscripten
2020-09-30 17:30:17 -07:00
Syrus
462693e35b Simplified code a bit more 2020-07-23 15:45:00 -07:00
Syrus
b06f021612 Improved Function API 2020-07-21 20:02:01 -07:00
Ivan Enderlin
bec12c4700 test(compilers) Improve assertions. 2020-07-07 13:37:59 +02:00
Ivan Enderlin
74c49cb297 test(compilers) Test a static host function that fails. 2020-07-07 13:37:49 +02:00
Ivan Enderlin
daf35afbf7 test(compilers) Test static host function that returns a result. 2020-07-07 13:37:11 +02:00
Mark McCaskey
3cebca05d2 Require Env to be 'static in Function 2020-06-16 12:18:24 -07:00
Mark McCaskey
0191ffe598 Add wip 2020-06-15 18:05:59 -07:00
Mark McCaskey
4bb0df3d22 First draft of functions owning their envs 2020-06-12 16:26:20 -07:00
Syrus
a68bcf95ed Separate testing per compiler 2020-06-09 14:33:12 -07:00
Syrus
d360fb33a8 Improved compiler tests 2020-05-28 11:28:38 -07:00