Commit Graph

9362 Commits

Author SHA1 Message Date
Johnathan Sharratt
1dfddf81c0 No longer causing a panic when globals are set to null in JS 2023-03-10 16:44:54 +11:00
Johnathan Sharratt
86e0ad024e Fixed the last snapshot integration tests 2023-03-10 15:08:19 +11:00
Johnathan Sharratt
761fff3c45 More lint and non-unix compile fixes 2023-03-10 13:57:51 +11:00
Johnathan Sharratt
1a19cbcacc Fixes so that windows compiles again with the new TTY changes 2023-03-10 13:49:09 +11:00
Johnathan Sharratt
1e68b6f6c3 Fixed the lint errors 2023-03-10 13:42:25 +11:00
Johnathan Sharratt
6009b050f1 Fixed the joining of subprocesses which was blocking due to a race condition 2023-03-10 13:28:18 +11:00
Johnathan Sharratt
4abbec71c1 Merge remote-tracking branch 'origin/master' into dash-fixes-and-pthreads 2023-03-09 16:14:53 +11:00
Johnathan Sharratt
80b10fcba7 Updates for the review comments 2023-03-09 16:11:42 +11:00
Johnathan Sharratt
1c85b34031 Removed tracing dependency that should not have been added 2023-03-09 15:55:16 +11:00
Johnathan Sharratt
5442c4844a Fixes for the dash and bash snapshot tests 2023-03-09 10:23:01 +11:00
ptitSeb
90c36fdc3e Merge branch 'master' into fix_memoryview_lifetime 2023-03-08 19:41:42 +01:00
ptitSeb
241504f200 Fixed merge issues 2023-03-08 17:22:14 +01:00
ptitSeb
4bf34da06f Merge branch 'master' into fix_memoryview_lifetime 2023-03-08 15:35:32 +01:00
ptitSeb
fd613ad1a1 Merge branch 'master' into fix_add_more_ror_emiter_arm64 2023-03-08 15:02:11 +01:00
ptitSeb
4059e66fb1 Fix doc build (#3668) 2023-03-08 13:40:37 +00:00
ptitSeb
e3890bc351 Merge branch 'master' into fix_add_more_ror_emiter_arm64 2023-03-08 13:13:22 +01:00
ptitSeb
ed3895b539 Fix doc, threads are enabled by default now (#3665)
* Fix doc, threads are enabled by default now

* Do not remove enable-thread, just mark at as deprecated
2023-03-08 12:08:19 +00:00
Christoph Herzog
041c2116d2 feat(wasi): Add CapabilityThreading with max thread count
Extends the wasi Capabilities type with a setting for threading that
configures the maximum thread count.
2023-03-08 10:35:12 +00:00
ptitSeb
0480f2775f Merge branch 'master' into fix_add_more_ror_emiter_arm64 2023-03-07 22:57:25 +01:00
ptitSeb
627a726934 Fixed building with with just the sys feature (#3659)
Fixed building with 'cargo build --no-default-features --features=sys --manifest-path=lib/api/Cargo.toml'
2023-03-07 16:00:06 +01:00
Johnathan Sharratt
90bedfc5cb Fixed the TTY for both dash and bash 2023-03-07 22:58:02 +11:00
Christoph Herzog
202d9f1b1f fix: Remove invalid memory access for tracing field
Could read invalid memory and cause UB
2023-03-07 11:15:15 +00:00
Christoph Herzog
36eddab196 fix: Remove invalid memory access for tracing 2023-03-07 11:15:15 +00:00
Christoph Herzog
fe17e6e71b chore: Fix compile errors in sock_shutdown 2023-03-07 11:15:15 +00:00
Christoph Herzog
5a245f8e7f chore(cli): Replace fern logging implementation with tracing
No point in keeping two implementations around
2023-03-07 11:15:15 +00:00
Johnathan Sharratt
b8447c0a4e Missed one of the syscalls for the tracing fix 2023-03-07 11:15:15 +00:00
Johnathan Sharratt
6dde2831a0 Improvements to the tracing and logging in wasmer
- Now using the fmt subscriber for improved formatting
- Using spans on all syscalls
- Added recorded fields on the spans instead trace and debug macros
- Adding timing on all syscall
2023-03-07 11:15:15 +00:00
ptitSeb
e3ebd560a1 [SINGLEPASS] Add more ROR emitter to ARM64 backend (for #3647) 2023-03-07 10:22:12 +01:00
Johnathan Sharratt
b881e5b403 Joining an an explicit process will now remove it as a child and be remembered beyond its exit 2023-03-07 19:49:23 +11:00
Johnathan Sharratt
e4187d7f5c Restructured the subprocesses so that they will be easier to join on 2023-03-07 19:37:33 +11:00
Johnathan Sharratt
be5242d6e2 Now implementing TTY and getcwd properly which is needed for bash and friends 2023-03-07 18:51:57 +11:00
Johnathan Sharratt
ea76a73fa7 Merge remote-tracking branch 'origin' into dash-fixes 2023-03-07 15:56:43 +11:00
Johnathan Sharratt
33d87eb76c Merge branch 'master' into dash-fixes 2023-03-07 06:09:23 +01:00
Syrus Akbary
e61c206bb2 Merge branch 'master' into std-api 2023-03-06 20:50:10 -08:00
Syrus Akbary
0a31d66c95 Make WasmRef/WasmSlice access uniform 2023-03-06 20:42:14 -08:00
Syrus Akbary
07eb2f6ad7 Improved mem_access 2023-03-06 19:31:58 -08:00
Johnathan Sharratt
949a4bd973 Merge branch 'master' into dash-fixes 2023-03-07 04:11:45 +11:00
Johnathan Sharratt
65eed0dbff Implemented the threads spec (pthreads) for WASIX 2023-03-07 04:09:23 +11:00
Michael-F-Bryan
e84fdf56a7 Make sure we include the WCGI feature flag 2023-03-06 23:37:15 +08:00
Michael-F-Bryan
114eeb357e We lost wasmer-vfs's dependency on indexmap during a rebase 2023-03-06 23:16:13 +08:00
Michael-F-Bryan
7ea729148f Reverted accidental Cargo.toml formatting 2023-03-06 22:56:14 +08:00
Michael-F-Bryan
20c10bcaf6 Updated the Python WASI runner test to check for a specific exit code 2023-03-06 22:52:17 +08:00
Michael-F-Bryan
43116e9056 Discovered that WebcFileSystem::top_level_dirs() and read_dir() aren't equivalent 2023-03-06 22:52:17 +08:00
Michael-F-Bryan
a9a091d85f Add an integration test for running the Python container 2023-03-06 22:52:16 +08:00
Michael-F-Bryan
e258df4dc4 Removed an unused import 2023-03-06 22:52:16 +08:00
Michael-F-Bryan
2970aad6dd Refactored prepare_webc_env() to match the original implementation 2023-03-06 22:52:16 +08:00
Michael-F-Bryan
c2dab64686 Added "can_run" tests 2023-03-06 22:51:36 +08:00
Michael-F-Bryan
0d88c8faa2 Made "make lint" happy 2023-03-06 22:45:51 +08:00
Michael-F-Bryan
3af48f7028 Hoisted shared state into its own struct 2023-03-06 22:45:51 +08:00
Michael-F-Bryan
bd324f9fc0 Added WCGI-specific flags to the CLI 2023-03-06 22:45:51 +08:00