-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASIX #3422
Commits on Jan 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1dad3dd - Browse repository at this point
Copy the full SHA 1dad3ddView commit details
Commits on Jan 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2589031 - Browse repository at this point
Copy the full SHA 2589031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0562a2b - Browse repository at this point
Copy the full SHA 0562a2bView commit details
Commits on Jan 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 663e97c - Browse repository at this point
Copy the full SHA 663e97cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d2767d - Browse repository at this point
Copy the full SHA 5d2767dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82696df - Browse repository at this point
Copy the full SHA 82696dfView commit details
Commits on Jan 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a6da4ec - Browse repository at this point
Copy the full SHA a6da4ecView commit details
Commits on Jan 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4509546 - Browse repository at this point
Copy the full SHA 4509546View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91549d3 - Browse repository at this point
Copy the full SHA 91549d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d0c9d9 - Browse repository at this point
Copy the full SHA 1d0c9d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe2fd24 - Browse repository at this point
Copy the full SHA fe2fd24View commit details -
Configuration menu - View commit details
-
Copy full SHA for df30d25 - Browse repository at this point
Copy the full SHA df30d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b0207 - Browse repository at this point
Copy the full SHA 30b0207View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6a0d65 - Browse repository at this point
Copy the full SHA a6a0d65View commit details
Commits on Jan 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 466082e - Browse repository at this point
Copy the full SHA 466082eView commit details
Commits on Jan 10, 2023
-
wasix: Reuse same runtime in PluggableRuntimeImplementation
Prevent creating a new tokio runtime all the time
Configuration menu - View commit details
-
Copy full SHA for a5ccc44 - Browse repository at this point
Copy the full SHA a5ccc44View commit details -
Configuration menu - View commit details
-
Copy full SHA for d34ce88 - Browse repository at this point
Copy the full SHA d34ce88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2af53f - Browse repository at this point
Copy the full SHA e2af53fView commit details
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5776afc - Browse repository at this point
Copy the full SHA 5776afcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a143bb3 - Browse repository at this point
Copy the full SHA a143bb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 505d2a3 - Browse repository at this point
Copy the full SHA 505d2a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bb960f - Browse repository at this point
Copy the full SHA 1bb960fView commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 703ef66 - Browse repository at this point
Copy the full SHA 703ef66View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ede7c - Browse repository at this point
Copy the full SHA a0ede7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0feb0a5 - Browse repository at this point
Copy the full SHA 0feb0a5View commit details
Commits on Jan 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4de67b - Browse repository at this point
Copy the full SHA b4de67bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ca8db8 - Browse repository at this point
Copy the full SHA 8ca8db8View commit details
Commits on Jan 14, 2023
-
Fixed a major bug where the polling loop with a zero time was returni…
…ng an event when it should not have been, causing an infiinte loop
Configuration menu - View commit details
-
Copy full SHA for 3ebf3be - Browse repository at this point
Copy the full SHA 3ebf3beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10b4d44 - Browse repository at this point
Copy the full SHA 10b4d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4727eb - Browse repository at this point
Copy the full SHA c4727ebView commit details
Commits on Jan 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ba9f2f6 - Browse repository at this point
Copy the full SHA ba9f2f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0804f13 - Browse repository at this point
Copy the full SHA 0804f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5760749 - Browse repository at this point
Copy the full SHA 5760749View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5dbfb6 - Browse repository at this point
Copy the full SHA c5dbfb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc18e5d - Browse repository at this point
Copy the full SHA bc18e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 394cf83 - Browse repository at this point
Copy the full SHA 394cf83View commit details -
fix: Fix missing field in enum binding (JS target)
Was introduced by recent refactoring
Configuration menu - View commit details
-
Copy full SHA for 701704a - Browse repository at this point
Copy the full SHA 701704aView commit details -
Implement Debug for BusSpawnedProcessJoin
Because everything should have a Debug impl...
Configuration menu - View commit details
-
Copy full SHA for 5e7517f - Browse repository at this point
Copy the full SHA 5e7517fView commit details -
fix: wasix http client: properly forward response headers
Resolves the TODO, and really needed to be done...
2Configuration menu - View commit details
-
Copy full SHA for ed15165 - Browse repository at this point
Copy the full SHA ed15165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e1e9fa - Browse repository at this point
Copy the full SHA 7e1e9faView commit details
Commits on Jan 17, 2023
-
Wasi bindings generator: derive Hash for Signal,Snapshot0Clockid
Because the manual implementation causes clippy warnings
Configuration menu - View commit details
-
Copy full SHA for 8ce631a - Browse repository at this point
Copy the full SHA 8ce631aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07b428d - Browse repository at this point
Copy the full SHA 07b428dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 374e8b0 - Browse repository at this point
Copy the full SHA 374e8b0View commit details -
Tokio 1.23 has a CVE, so update to 1.24
Configuration menu - View commit details
-
Copy full SHA for 433a91a - Browse repository at this point
Copy the full SHA 433a91aView commit details -
build: Clarify ring dependency license in deny.toml
License can't be auto-detected, so it needs a manual clarification.
Configuration menu - View commit details
-
Copy full SHA for 26c41d3 - Browse repository at this point
Copy the full SHA 26c41d3View commit details -
build: Fix feature flags for vfs crate in Makefile test
Crate doesn't have any of the compiler features...
Configuration menu - View commit details
-
Copy full SHA for 9e85fc8 - Browse repository at this point
Copy the full SHA 9e85fc8View commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 30ec91d - Browse repository at this point
Copy the full SHA 30ec91dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d020d - Browse repository at this point
Copy the full SHA 27d020dView commit details
Commits on Jan 19, 2023
-
Fix for the read ready event on local networking which was missing ev…
…ents on new connections in certain race conditions
Configuration menu - View commit details
-
Copy full SHA for 67a1a89 - Browse repository at this point
Copy the full SHA 67a1a89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a0a1e5 - Browse repository at this point
Copy the full SHA 1a0a1e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91762ce - Browse repository at this point
Copy the full SHA 91762ceView commit details -
Align with master on two changes which were probably accidentally screwed up during a merge or rebase.
Configuration menu - View commit details
-
Copy full SHA for 902670a - Browse repository at this point
Copy the full SHA 902670aView commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d9f1018 - Browse repository at this point
Copy the full SHA d9f1018View commit details -
feat: Implement WASIX ControlPlane Thread Limits
This commit adds a total task (aka thread) limit for a WasiControlPlane. The limit is configured at startup, and is checked whenever a new process or a new thread is created. The major breaking change is that the new_process and new_thread methods are now fallible and return an error. Also adds two tests that validate the limits are repsected. Along with this feature the commit also does some cleanup and reafactoring: * Simplify WasiControlPlane It was using multiple Arcs with locks and atomics with no real justification. The state is only locked for very short periods, so the complicated setup doesn't yield any benefits. The mutable state is consolidated behind a single RwLock, which holds the process id seed and the process map, and the whole type is behind a single Arc. The reservations are removed, since they are not really useful if the state is only locked for very short periods. Also adds todo notes for handling pid exhaustion and process de-registration. * TaskJoinHandle Adds a new TaskJoinHandle handle that is used by both processes and threads to track termination. Replaces a complex, cryptic type. * Simplify Thread state and make it private Make internal thread state private to better encapsulate the code. Also restructures the type to be behind a single Arc instead of multiple redundant Arcs. NOTE: should also be done for WasiProcess
Configuration menu - View commit details
-
Copy full SHA for e970704 - Browse repository at this point
Copy the full SHA e970704View commit details
Commits on Jan 23, 2023
-
tests: Add a commented out test for fd_mmap memory
Adds a test for the custom memory computation that is currently commented out. Mostly here for testing purposes, should be removed again.
Configuration menu - View commit details
-
Copy full SHA for a9e972c - Browse repository at this point
Copy the full SHA a9e972cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1bae19 - Browse repository at this point
Copy the full SHA d1bae19View commit details
Commits on Jan 24, 2023
-
chore: Fix Typo in Error Message
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
Configuration menu - View commit details
-
Copy full SHA for a139f71 - Browse repository at this point
Copy the full SHA a139f71View commit details -
Add an empty wasmer-sys-utils crate
This crate will hold utility functionality that doesn't fit well anywhere else.
Configuration menu - View commit details
-
Copy full SHA for fe37060 - Browse repository at this point
Copy the full SHA fe37060View commit details -
refactor: Move fd_memory from wasi to sys-utils crate
It is primarily used by Deploy and doesn't really belong in wasi.
Configuration menu - View commit details
-
Copy full SHA for f925724 - Browse repository at this point
Copy the full SHA f925724View commit details -
Delete unused host_ws.rs file, and move to sys-utils
Deletes a tokio + tungstenite based Websocket implementation in the wasi crate. The file wasn't even included in the module tree. The code is moved to the wasmer-sys-utils crate, but commented out at the moment. Should probably just be removed.
Configuration menu - View commit details
-
Copy full SHA for 8259512 - Browse repository at this point
Copy the full SHA 8259512View commit details -
Move WasiThreadError to os::task::thread submodule
It fits better there!
Configuration menu - View commit details
-
Copy full SHA for a155340 - Browse repository at this point
Copy the full SHA a155340View commit details -
wasi: Move DummyWaker to utils and add comments
Move the WasiDummyWaker to the utils module, since it doesn't really belong in the state module. Also adds a comment explaining what it does.
Configuration menu - View commit details
-
Copy full SHA for 9aa6a07 - Browse repository at this point
Copy the full SHA 9aa6a07View commit details -
chore: Update comment to reflect implementation changes
Because an outdated comment is the worst kind of comment.
Configuration menu - View commit details
-
Copy full SHA for f5cfb59 - Browse repository at this point
Copy the full SHA f5cfb59View commit details
Commits on Jan 25, 2023
-
tests: Move fd_mmap_memory test to sys-utils crate
fd_mmap_memory was moved there previously
Configuration menu - View commit details
-
Copy full SHA for 43653bc - Browse repository at this point
Copy the full SHA 43653bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f43832 - Browse repository at this point
Copy the full SHA 1f43832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf768d - Browse repository at this point
Copy the full SHA 5cf768dView commit details
Commits on Jan 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 42f58d0 - Browse repository at this point
Copy the full SHA 42f58d0View commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 28620c8 - Browse repository at this point
Copy the full SHA 28620c8View commit details -
chore: Fix a whole bunch of clippy lints
Mostly just cosmetic stuff. On non-trivial change: changed WasiPipe to have a wrapper subtype for the reader, which includes the channel and the buffer.
Configuration menu - View commit details
-
Copy full SHA for b05d77d - Browse repository at this point
Copy the full SHA b05d77dView commit details -
fix: Remove unsoundess in local networking buffers
Previously buffers were constructed with Vec::with_capacity and Vec::set_len, which creates unitialized memory. The buffers were then passed along outside of the unsafe context. This is unsound. Ideally we would do something more fancy with MaybeUninit, but just creating the buffer with zeroed out memory is enough for now.
Configuration menu - View commit details
-
Copy full SHA for 7d1a742 - Browse repository at this point
Copy the full SHA 7d1a742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6660c57 - Browse repository at this point
Copy the full SHA 6660c57View commit details -
wasi: Fix some dependency issues for JS builds
Enable tokio runtime feature for tests, remove some definitions that are not defined on js, ...
Configuration menu - View commit details
-
Copy full SHA for 33eb586 - Browse repository at this point
Copy the full SHA 33eb586View commit details -
Always required now , not just when the compiler feature is on.
Configuration menu - View commit details
-
Copy full SHA for 932cd78 - Browse repository at this point
Copy the full SHA 932cd78View commit details -
tests: Exclude wasix_http_client from main test run
Only intended for wasm32- targets
Configuration menu - View commit details
-
Copy full SHA for 9c792c6 - Browse repository at this point
Copy the full SHA 9c792c6View commit details -
tests: Comment out fd memory tests
(not working properly at the moment)
Configuration menu - View commit details
-
Copy full SHA for 8d573b3 - Browse repository at this point
Copy the full SHA 8d573b3View commit details -
build: Enable tokio time feature for wasi sys builds
Was usually enabled ephemerally.
Configuration menu - View commit details
-
Copy full SHA for 1f3d003 - Browse repository at this point
Copy the full SHA 1f3d003View commit details -
fix: Upgrade c-api to use new WasiPipe implementation
Need to use WasiBidirectionalPipePair to allow accessing the stdout/stderr.
Configuration menu - View commit details
-
Copy full SHA for ffefa23 - Browse repository at this point
Copy the full SHA ffefa23View commit details
Commits on Feb 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3cda99 - Browse repository at this point
Copy the full SHA a3cda99View commit details -
fix: Initialize WASI env in CLI
Initialization is required, but was apparently removed from the CLI run code previously.
Configuration menu - View commit details
-
Copy full SHA for 3134c26 - Browse repository at this point
Copy the full SHA 3134c26View commit details -
Delete unused C file (rebase left-over)
File is an artifact of a big rebase, not needed any longer.
Configuration menu - View commit details
-
Copy full SHA for 50dd727 - Browse repository at this point
Copy the full SHA 50dd727View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64732b0 - Browse repository at this point
Copy the full SHA 64732b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460576e - Browse repository at this point
Copy the full SHA 460576eView commit details -
Change buf size hint to a const and add documentation
Define a const for the poll_write_ready buffer size hint, and add some explanation about the chosen number.
Configuration menu - View commit details
-
Copy full SHA for 1406c37 - Browse repository at this point
Copy the full SHA 1406c37View commit details -
Virtual Host FS: Sort readdir() result by path
Was previously sorted by modification time, which is not terribly deterministic and problematic to sort on in tests.
Configuration menu - View commit details
-
Copy full SHA for f40c2f8 - Browse repository at this point
Copy the full SHA f40c2f8View commit details -
tests: Fix incorrect test assertion for fs metadata
The accessed time can/will change after a rename, which is correct behaviour. This wasn't accounted for in the test.
Configuration menu - View commit details
-
Copy full SHA for 5c358e6 - Browse repository at this point
Copy the full SHA 5c358e6View commit details -
Use custom types for Stdio (Stdout/In) types
a) much more readable this way b) silences clippy
Configuration menu - View commit details
-
Copy full SHA for 1d7530d - Browse repository at this point
Copy the full SHA 1d7530dView commit details
Commits on Feb 3, 2023
-
Fixes for excessive memory allocations
- Removed the need to clone WasiEnv whenever signals are processed - Modified the poll_oneoff syscall so that it works with polls rather than Boxed futures - Removed the mpsc channel in poll_oneoff
Configuration menu - View commit details
-
Copy full SHA for 95b2fe9 - Browse repository at this point
Copy the full SHA 95b2fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3a1834 - Browse repository at this point
Copy the full SHA c3a1834View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbffb79 - Browse repository at this point
Copy the full SHA cbffb79View commit details -
Async runtime memory and performance improvments
- WasiImplementation now returns a refernce to the tokio runtime - block_on no longer needs sync or send - Removed the mpsc channels which are no longer needed
Configuration menu - View commit details
-
Copy full SHA for 97445c4 - Browse repository at this point
Copy the full SHA 97445c4View commit details -
wasix: Remove websocket support
Removes the websocket support from wasix. Websockets are a high level concept. They should not be integrated so deeply into the core of wasix. For client connections, we will want to add support for websocket clients into the custom wasix_http_client bindings. For servers, the support should go into the custom wcgi server bindings.
Configuration menu - View commit details
-
Copy full SHA for 62026e4 - Browse repository at this point
Copy the full SHA 62026e4View commit details
Commits on Feb 4, 2023
-
Many performance and memory optimizations
- Avoiding a memory copy on all socket reads and writes using a new `copy_from_slice` instead - File openers no longer box the implementation avoiding a memory allocation on all file access - Polling sockets rather than using an async function which significantly reduces locking contention and removes an box operation - Futex now uses wakers rather than broadcasts which makes them more efficient and durable - Converted many async functions into sync functions in vnet - Sleeping no longer allocates memory - Avoiding a number of WasiEnv clones which was impacting performance and memory efficiency
Configuration menu - View commit details
-
Copy full SHA for 9bc44d4 - Browse repository at this point
Copy the full SHA 9bc44d4View commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21237eb - Browse repository at this point
Copy the full SHA 21237ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8c085 - Browse repository at this point
Copy the full SHA 7f8c085View commit details -
Many performance and memory optimizations
- Avoiding a memory copy on all socket reads and writes using a new `copy_from_slice` instead - File openers no longer box the implementation avoiding a memory allocation on all file access - Polling sockets rather than using an async function which significantly reduces locking contention and removes an box operation - Futex now uses wakers rather than broadcasts which makes them more efficient and durable - Converted many async functions into sync functions in vnet - Sleeping no longer allocates memory - Avoiding a number of WasiEnv clones which was impacting performance and memory efficiency
Configuration menu - View commit details
-
Copy full SHA for 26d4a6a - Browse repository at this point
Copy the full SHA 26d4a6aView commit details -
wasi: Rename WasiStateBuilder to WasiEnvBuilder
Preparation for removing the two-step construction with WasiState and WasiEnv
Configuration menu - View commit details
-
Copy full SHA for 9813ba9 - Browse repository at this point
Copy the full SHA 9813ba9View commit details -
wasi: Merge the vbus crate into wasi as a vbus submodule
The crate provides an abstraction layer that we currently don't yet need or want. The vbus types are used quite a bit in other consumers, but follow ups should remove a lot of the Vbus type/abstractions. They can always be added back later.
Configuration menu - View commit details
-
Copy full SHA for 5593340 - Browse repository at this point
Copy the full SHA 5593340View commit details -
wasi: Remove vbus Result alias
type Result<_, MyError> aliases add lots of confusion to code, best to just strip it out.
Configuration menu - View commit details
-
Copy full SHA for fa3e08a - Browse repository at this point
Copy the full SHA fa3e08aView commit details
Commits on Feb 8, 2023
-
First step in improving the wasi module construction flow. Lots of steps to follow.
Configuration menu - View commit details
-
Copy full SHA for 956ad28 - Browse repository at this point
Copy the full SHA 956ad28View commit details -
wasi: Remove state from BinFactory
The WasiState was only stored on the BinFactory for one small functionality, accessing the file system. This is much easier handled by passing in the relevant filesystem to the get_binary function. Achieves a much more sensible separation of state.
Configuration menu - View commit details
-
Copy full SHA for 29f7273 - Browse repository at this point
Copy the full SHA 29f7273View commit details -
Add VirtualTaskManager::build_memory() and remove module/memory from …
…task_wasm Simplifies module construction
Configuration menu - View commit details
-
Copy full SHA for 38dda36 - Browse repository at this point
Copy the full SHA 38dda36View commit details -
wasix: Strip out the VBus abstraction
VirtualBus was intended for remote spawning and calling, but it is not used at the moment and is also too high level to be included. This strips out most of the vbus related abstractions, and only keeps the handle used for instance termination.
Configuration menu - View commit details
-
Copy full SHA for a112bea - Browse repository at this point
Copy the full SHA a112beaView commit details -
wasi: Partial unification of instance spawning
Introduces a new WasiEnvInit type that should hold all information required for initializing an instance. An instance can then be created with WasiEnv::instantiate(). This method takes care of all the required setup steps to properly run a wasi(X) module.
Configuration menu - View commit details
-
Copy full SHA for 8b0d1fc - Browse repository at this point
Copy the full SHA 8b0d1fcView commit details -
wasi: WasiRuntimeError summary error + wasi func run function helpers
Adds a new WasiRuntimeError that represents all errors possible during wasi invokations. Also adds new run_wasi_func / run_wasi_func_start helpers that catch the wasi exit code.
Configuration menu - View commit details
-
Copy full SHA for 7932b28 - Browse repository at this point
Copy the full SHA 7932b28View commit details -
wasix: Rework VirtualTaskManager integration
* Remove the WasiRuntimeImplementation::new_task_manager() method This was a big API footgun - the task manager must always be available for wasix to work, so it should always be present. * Remove task manager from WasiEnv The env already stores the runtime, which now has an accessor for the task manager
Configuration menu - View commit details
-
Copy full SHA for 355d9d7 - Browse repository at this point
Copy the full SHA 355d9d7View commit details -
docs(wasi): Add FIXME s to various removed syscalls
Only stub impls right now. Should be deleted once we know no wasm modules are importing it.
Configuration menu - View commit details
-
Copy full SHA for 8b313d6 - Browse repository at this point
Copy the full SHA 8b313d6View commit details -
refactor(wasi): Rename WasiRuntimeImplementation to WasiRuntime
Because ... should be obvious why!
Configuration menu - View commit details
-
Copy full SHA for 3dbdee7 - Browse repository at this point
Copy the full SHA 3dbdee7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6936708 - Browse repository at this point
Copy the full SHA 6936708View commit details -
Make WasiRuntime::networking accessor return a ref
Helps to prevent redundant clones.
Configuration menu - View commit details
-
Copy full SHA for b6a57b5 - Browse repository at this point
Copy the full SHA b6a57b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd58c08 - Browse repository at this point
Copy the full SHA bd58c08View commit details -
refactor(wasi): Make WasiState private
Makes the WasiState type private, and replaces it's usage with WasiEnv where needed. WasiState is a complex type with many implementation details, it should not be public.
Configuration menu - View commit details
-
Copy full SHA for ff4ccf5 - Browse repository at this point
Copy the full SHA ff4ccf5View commit details -
fix: Enable wasi/sys-thread feature for c api
Because we are using Tokio and Tokio is our only tested async implementation.
Configuration menu - View commit details
-
Copy full SHA for c01b8b1 - Browse repository at this point
Copy the full SHA c01b8b1View commit details -
chore: Re-order WasiRuntime functions and add TODOs for removal
Orders all tty/stdio related functions to the bottom. Also adds TODO removal comments to all of them, because the do not belong on this trait.
Configuration menu - View commit details
-
Copy full SHA for c0bde87 - Browse repository at this point
Copy the full SHA c0bde87View commit details -
chore: Remove unused WasiRuntime::log method
Not used since we switched to tracing.
Configuration menu - View commit details
-
Copy full SHA for b97bcde - Browse repository at this point
Copy the full SHA b97bcdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe75ef0 - Browse repository at this point
Copy the full SHA fe75ef0View commit details -
build: Remove compiler-specific features from wasi crate
For historic reasons the wasi crate had features to toggle between the different Wasmer compilers. This is not needed anymore.
Configuration menu - View commit details
-
Copy full SHA for 0819c9a - Browse repository at this point
Copy the full SHA 0819c9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1eaa0f - Browse repository at this point
Copy the full SHA a1eaa0fView commit details -
chore: Make Wasifs::is_wasix private and add removal TODO
Increases encapsulation. See added comments for why it should be removed.
Configuration menu - View commit details
-
Copy full SHA for 6ea7e53 - Browse repository at this point
Copy the full SHA 6ea7e53View commit details -
wasi: Remove Clone impls from WasiVFork and WasiEnv
These types hold internal state and can/should not just be cloned. The only code doing clones is in thread / process spawning/forking. These can use the new custom duplicate() method instead.
Configuration menu - View commit details
-
Copy full SHA for ba815bd - Browse repository at this point
Copy the full SHA ba815bdView commit details -
* Remove all the STDIO related methods from the WasiRuntime trait * Remove the special-cased Stdio VirtualFile types that where needed due to the above WasiRuntime trait integration * Replace the WasiRuntime::{get,set}_tty methods with a dedicated optional TtyBridge trait * Update the Console to always require a full WasiBidirectionalPipePair which is used for stdio
Configuration menu - View commit details
-
Copy full SHA for 082715a - Browse repository at this point
Copy the full SHA 082715aView commit details -
build: Enable sys-thread feature for wasi dep in c-api
It's required at the moment to do anything useful with WASI(X)
Configuration menu - View commit details
-
Copy full SHA for ab99b2c - Browse repository at this point
Copy the full SHA ab99b2cView commit details
Commits on Feb 9, 2023
-
wasi: Add WasiPipe::new() constructor
A single pipe is sufficient for many contexts, no need to use WasiBidirectionalPipePair everywhere.
Configuration menu - View commit details
-
Copy full SHA for 8f97dab - Browse repository at this point
Copy the full SHA 8f97dabView commit details -
* Make process optional in WasiEnvInit * Remove some deprecated functions
Configuration menu - View commit details
-
Copy full SHA for 39fe9b7 - Browse repository at this point
Copy the full SHA 39fe9b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b169061 - Browse repository at this point
Copy the full SHA b169061View commit details -
Configuration menu - View commit details
-
Copy full SHA for 633e18f - Browse repository at this point
Copy the full SHA 633e18fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c323919 - Browse repository at this point
Copy the full SHA c323919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be6561 - Browse repository at this point
Copy the full SHA 6be6561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9eab5 - Browse repository at this point
Copy the full SHA 4f9eab5View commit details -
Rename WasiEnvBuilder::build_func_env back to finalize
Reduce API breakage.
Configuration menu - View commit details
-
Copy full SHA for 7e6a33d - Browse repository at this point
Copy the full SHA 7e6a33dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27cb987 - Browse repository at this point
Copy the full SHA 27cb987View commit details -
tests: Enable cranelfit feature for tests in wasmer-wasi
Required to compile wasm files
Configuration menu - View commit details
-
Copy full SHA for 45e26c6 - Browse repository at this point
Copy the full SHA 45e26c6View commit details -
wasi: Introduce shared tokio task manager and respect current tokio env
Adds a global shared TokioTaskManager that is used by default by PluggableRuntimeImplementation. Also uses the local tokio runtime if executing in an async context. Tokio runtimes are heavy, only one should be running per process. This way we keep a simple API and prevent misuse.
Configuration menu - View commit details
-
Copy full SHA for c4b6c05 - Browse repository at this point
Copy the full SHA c4b6c05View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7780fa - Browse repository at this point
Copy the full SHA d7780faView commit details
Commits on Feb 10, 2023
-
fix: Gate the fd_memory module to Linux targets
This memory implementation only works on Linux.
Configuration menu - View commit details
-
Copy full SHA for 6b6ae4d - Browse repository at this point
Copy the full SHA 6b6ae4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f78799 - Browse repository at this point
Copy the full SHA 7f78799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a7de9 - Browse repository at this point
Copy the full SHA 12a7de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15fdd65 - Browse repository at this point
Copy the full SHA 15fdd65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f6d7c - Browse repository at this point
Copy the full SHA 96f6d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02245ce - Browse repository at this point
Copy the full SHA 02245ceView commit details -
tests(wasi): Remove some manual tests that are covered by snapshot tests
Found in the CLI integration test suite
Configuration menu - View commit details
-
Copy full SHA for 9f600bf - Browse repository at this point
Copy the full SHA 9f600bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7cb88 - Browse repository at this point
Copy the full SHA ba7cb88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f0f6d - Browse repository at this point
Copy the full SHA 68f0f6dView commit details -
wasi: Add VirtualFile::close and close all fds on WasiFs cleanup
* Adds a new VirtualFile::poll_close method for closing a file. * Adds a VirtualFileClose future and a VirtualFileExt::close() method for more convenient async closing * Updates WasiFs to call close() for all fds on cleanup NOTE: this is a WIP implementation of closing, the only VirtualFile implementor that was updated is WasiPipe.
Configuration menu - View commit details
-
Copy full SHA for f88d368 - Browse repository at this point
Copy the full SHA f88d368View commit details -
wasi: Fix up the wasi examples
Needed updating to the new wasi implementation.
Configuration menu - View commit details
-
Copy full SHA for 9d86596 - Browse repository at this point
Copy the full SHA 9d86596View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a080d - Browse repository at this point
Copy the full SHA b1a080dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d880e - Browse repository at this point
Copy the full SHA 70d880eView commit details -
wasi: Replace custom VirtualFile::write with tokio::AsyncWrite::shutdown
No need to duplicate the functionality...
Configuration menu - View commit details
-
Copy full SHA for cca51c0 - Browse repository at this point
Copy the full SHA cca51c0View commit details -
Made test-stage-0-wast test to use only 1 thread (to avoid potential …
…issues with host_fs::path_rename)
Configuration menu - View commit details
-
Copy full SHA for f77b61c - Browse repository at this point
Copy the full SHA f77b61cView commit details -
fix: Do not purge reader when closing a WasiPipe
Only tearing down the writer is enough. The previous implementaiton would prevent users from reading the remaining content in a pipe after closure.
Configuration menu - View commit details
-
Copy full SHA for 825628f - Browse repository at this point
Copy the full SHA 825628fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a96ec8 - Browse repository at this point
Copy the full SHA 0a96ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 613cd1f - Browse repository at this point
Copy the full SHA 613cd1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715920e - Browse repository at this point
Copy the full SHA 715920eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 318b06c - Browse repository at this point
Copy the full SHA 318b06cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9130b - Browse repository at this point
Copy the full SHA 6b9130bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78537ad - Browse repository at this point
Copy the full SHA 78537adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e5b15 - Browse repository at this point
Copy the full SHA 70e5b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b6e57 - Browse repository at this point
Copy the full SHA 01b6e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1782958 - Browse repository at this point
Copy the full SHA 1782958View commit details -
fix(wasi): Revert making WasiEnv::cleanup async
It SHOULD be async, but doing that with the current WasiFs implementation is a world of hurt and not feasible, since it leads to all kinds of issues regarding async runtime behaviour. For now we just manually invoke poll_shutdown a single time
Configuration menu - View commit details
-
Copy full SHA for de419df - Browse repository at this point
Copy the full SHA de419dfView commit details -
wasi: Improve global tokio runtime detection in TokioTaskManager
Make sure to not create a new runtime if in an async context already.
Configuration menu - View commit details
-
Copy full SHA for 0b6c07a - Browse repository at this point
Copy the full SHA 0b6c07aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715f71d - Browse repository at this point
Copy the full SHA 715f71dView commit details -
build: Add cargo-insta to flake.nix
cargo-insta is used for some snapshot tests in tests/integration/cli
Configuration menu - View commit details
-
Copy full SHA for 7ab0568 - Browse repository at this point
Copy the full SHA 7ab0568View commit details -
refactor: Rename WasiPipe to Pipe and WasiBidirectionalPipePair to Bi…
…diPipe The vfs is not directly tied to WASI, so naming it after wasi makes no sense.
Configuration menu - View commit details
-
Copy full SHA for 2cfe241 - Browse repository at this point
Copy the full SHA 2cfe241View commit details -
Configuration menu - View commit details
-
Copy full SHA for a33802e - Browse repository at this point
Copy the full SHA a33802eView commit details
Commits on Feb 14, 2023
-
fix(wasi): Get the JS implementation to build (somewhat hackily)
Makes various fixes to get wasi JS to build. Has some nasty workarounds that need to be removed in the future.
Configuration menu - View commit details
-
Copy full SHA for 60850bd - Browse repository at this point
Copy the full SHA 60850bdView commit details
Commits on Feb 15, 2023
-
Many bug fixes and performance optimizations
- Removed generation_arena which was causing some serious leakages of files and sockets - Added OsError for NetworkErrors so that "Too Many Open Files" is properly passed - Local networking will now cap at 10 sockets in the backlog - Added the missing shutdown error code - Removed the inodes lock around most of the WASI syscalls - Fixed some race conditions in the event notifications for WASI - The polling loop will now only notify a closed socket once - Event notifications now uses Wakers rather than MPSC - Some socket errors now return the right codes which prevents panics in WASM - Fixed a bug where the file read and write guards might release the file before the lock - The inode seed is now much safer preventing overlaps - The fd seed is now much safer preventing overlaps - Closing files is now implicit rather than explicit reducing possibliities for error - Forking of file descriptors is now much simplier - Polling events will now be returned in random order to prevent some race conditions - Removed a number of memory allocations which were wasting memory and performance - Sockets now only copy the send and recv data once rather than multiple times
Configuration menu - View commit details
-
Copy full SHA for c12a60f - Browse repository at this point
Copy the full SHA c12a60fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d86ef5 - Browse repository at this point
Copy the full SHA 7d86ef5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc83041 - Browse repository at this point
Copy the full SHA cc83041View commit details -
cli: Add a --net flag to run command for enabling networking
WASIX networking will now only be enabled if the --net flag is provided. Otherwise it would break the Wasmer sandboxing promise. In the future we should add more advanced networking config. (like only allow certain ports, limit dns domains, limit ip ranges, etc )
Configuration menu - View commit details
-
Copy full SHA for 93a0cd6 - Browse repository at this point
Copy the full SHA 93a0cd6View commit details -
build: Remove useless host-fs feature from vnet crate
It's not used and doesn't make sense. Probably an artifact of copying the vfs crate...
Configuration menu - View commit details
-
Copy full SHA for e385a01 - Browse repository at this point
Copy the full SHA e385a01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7437024 - Browse repository at this point
Copy the full SHA 7437024View commit details -
Make LocalNetworking internals private and add ::new()
Since LocalNetworking was an empty struct, it could have been constructed by anyone , which would lead to a breaking change if we need to add any fields. This commit adds a private stub field to prevent that. Also adds a LocalNetworking::new() constructor
Configuration menu - View commit details
-
Copy full SHA for da1361f - Browse repository at this point
Copy the full SHA da1361fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 247de6f - Browse repository at this point
Copy the full SHA 247de6fView commit details -
build(c-api): Enable more feature on the wasi dependency
Needed for things to work properly
Configuration menu - View commit details
-
Copy full SHA for e46c2e6 - Browse repository at this point
Copy the full SHA e46c2e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc05bd1 - Browse repository at this point
Copy the full SHA dc05bd1View commit details -
chore: Remove all WASIX bus and event related syscalls + types
The implementations were previously already replaced with stub impls. After ensuring that the current wasix modules don't actually import the syscalls, we can now safely remove all the plumbing, including: * syscalls * types
Configuration menu - View commit details
-
Copy full SHA for 506da0b - Browse repository at this point
Copy the full SHA 506da0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db0dd0 - Browse repository at this point
Copy the full SHA 4db0dd0View commit details -
c-api: Restore wasi_env_set_memory function
Not supported anymore, but better to have it panic instead of just breaking the API by removing it.
Configuration menu - View commit details
-
Copy full SHA for 30dc848 - Browse repository at this point
Copy the full SHA 30dc848View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4473be1 - Browse repository at this point
Copy the full SHA 4473be1View commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f117a6 - Browse repository at this point
Copy the full SHA 4f117a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e82fc87 - Browse repository at this point
Copy the full SHA e82fc87View commit details -
Moved the OwnedRwReadLock and OwnedRwWriteLock implementation(s) into…
… a privata mod and added some extra protection against race conditions
Configuration menu - View commit details
-
Copy full SHA for 31c6eca - Browse repository at this point
Copy the full SHA 31c6ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81bae8f - Browse repository at this point
Copy the full SHA 81bae8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbcae65 - Browse repository at this point
Copy the full SHA cbcae65View commit details -
Configuration menu - View commit details
-
Copy full SHA for b15d028 - Browse repository at this point
Copy the full SHA b15d028View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7cd600 - Browse repository at this point
Copy the full SHA a7cd600View commit details -
fix: Add missing import in c_api
Was forgotten during restoring a function from master.
Configuration menu - View commit details
-
Copy full SHA for f0dbbc7 - Browse repository at this point
Copy the full SHA f0dbbc7View commit details -
build: Add binaryen and wabt to flake devshell
Because they are needed for building the tests
Configuration menu - View commit details
-
Copy full SHA for dab4327 - Browse repository at this point
Copy the full SHA dab4327View commit details -
chore: Remove invalid FIXME comments
The syscalls are still used, the comments were added in error.
Configuration menu - View commit details
-
Copy full SHA for 30f7bdf - Browse repository at this point
Copy the full SHA 30f7bdfView commit details -
Remove libc dependency from vnet again
libc was added as a dependency to vnet for error mapping. This breaks JS targets. Removed the dependency, and removed the mapping functions. Will be added again in the wasi crate.
Configuration menu - View commit details
-
Copy full SHA for 76a2996 - Browse repository at this point
Copy the full SHA 76a2996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 384af9a - Browse repository at this point
Copy the full SHA 384af9aView commit details -
wasi: Add OS to vnet error mapping
Add mapping functions that were previously removed from vnet
Configuration menu - View commit details
-
Copy full SHA for 61bd7bd - Browse repository at this point
Copy the full SHA 61bd7bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e290b5 - Browse repository at this point
Copy the full SHA 5e290b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb2d74 - Browse repository at this point
Copy the full SHA 4cb2d74View commit details -
wasi: Return the actual error from WasiEnvBuilder::run/run_with_module
Fixes a refactoring left-over that discarded the actual result.
Configuration menu - View commit details
-
Copy full SHA for b6f3ebc - Browse repository at this point
Copy the full SHA b6f3ebcView commit details -
wasi: Remove WasiPipe::channel to prevent misuse
The WasiPipe::channel() function is a leftover from a previous implementation. It pipes data through two different Pipes, which doesn't actually make any sense in most circumstances. Best to remove the function. Users should just use Pipe::new(), or DuplexPipe::new().
Configuration menu - View commit details
-
Copy full SHA for 3e43325 - Browse repository at this point
Copy the full SHA 3e43325View commit details -
wasi: Rename BidiPipe to DuplexPipe and add helper methods
* Rename BidiPipe to DuplexPipe, because the name is better * Make the fields private: gives us more flexibility in the future * Add a split() method and accessors for send and receive
Configuration menu - View commit details
-
Copy full SHA for 195ea89 - Browse repository at this point
Copy the full SHA 195ea89View commit details -
Removes the StubTaskManager implementation. A WASI(X) module requires a VirtualTaskManager implementation to do anything useful. Having this implmementation doesn't make sense anymore, it only invites misuse.
Configuration menu - View commit details
-
Copy full SHA for 25128a4 - Browse repository at this point
Copy the full SHA 25128a4View commit details -
VFS cleanuup: remove redundant dependencies and feature flags
* Remove all dependencies to Wasmer crates (previously used for really trivial type definitions) * Remove feature flags that make no sense anymore: - js/sys from wasmer - std/core - nostd support was intended at some point, but isn't implement
Configuration menu - View commit details
-
Copy full SHA for 8074253 - Browse repository at this point
Copy the full SHA 8074253View commit details -
deps: Remove unused dependency from vnet
Probably some copy-pasta leftover.
Configuration menu - View commit details
-
Copy full SHA for 6d4a41a - Browse repository at this point
Copy the full SHA 6d4a41aView commit details -
fix: Fix OS error mapping on Windows
Needed to adjust #[cfg()]s to only use libc on unix targets.
Configuration menu - View commit details
-
Copy full SHA for 1c84918 - Browse repository at this point
Copy the full SHA 1c84918View commit details
Commits on Feb 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6ffdc95 - Browse repository at this point
Copy the full SHA 6ffdc95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ab210 - Browse repository at this point
Copy the full SHA 61ab210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8bb01 - Browse repository at this point
Copy the full SHA 4b8bb01View commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c010866 - Browse repository at this point
Copy the full SHA c010866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a087bd - Browse repository at this point
Copy the full SHA 6a087bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017592d - Browse repository at this point
Copy the full SHA 017592dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8c5736 - Browse repository at this point
Copy the full SHA d8c5736View commit details -
Added a standard file that allows for writes to be intercepted - used…
… by the runtime debugging in Deploy
Configuration menu - View commit details
-
Copy full SHA for 9a5dd9f - Browse repository at this point
Copy the full SHA 9a5dd9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 439dd4f - Browse repository at this point
Copy the full SHA 439dd4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b54b81 - Browse repository at this point
Copy the full SHA 5b54b81View commit details -
refactor: Rename DuelWriteFile to DualWriteFile
Just fixing a typo...
Configuration menu - View commit details
-
Copy full SHA for 5799efc - Browse repository at this point
Copy the full SHA 5799efcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c319a84 - Browse repository at this point
Copy the full SHA c319a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6aeddb - Browse repository at this point
Copy the full SHA f6aeddbView commit details -
tests: Fix stdin handling in wasi-wast tests
Previously the stdin pipe woulnd't be closed properly, leading to the pipe_rename test failing.
Configuration menu - View commit details
-
Copy full SHA for 7968cf4 - Browse repository at this point
Copy the full SHA 7968cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 697f218 - Browse repository at this point
Copy the full SHA 697f218View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0533ca7 - Browse repository at this point
Copy the full SHA 0533ca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a78d577 - Browse repository at this point
Copy the full SHA a78d577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0112cd6 - Browse repository at this point
Copy the full SHA 0112cd6View commit details -
fix: make Pipe::new() private and replace usage
Pipe::new() easily leads to dangling pipes due to lack of close on drop of the sender.
Configuration menu - View commit details
-
Copy full SHA for 244c5f6 - Browse repository at this point
Copy the full SHA 244c5f6View commit details -
Pipe::new() was previously also removed. Use Pipe::channel() instead
Configuration menu - View commit details
-
Copy full SHA for a328f32 - Browse repository at this point
Copy the full SHA a328f32View commit details -
chore: Remove owned mutex doc tests
Can write doc tests for private submodule...
Configuration menu - View commit details
-
Copy full SHA for 0c6c27e - Browse repository at this point
Copy the full SHA 0c6c27eView commit details -
tests: Slightly improve error message for get_wasmer_path
For easier debugging...
Configuration menu - View commit details
-
Copy full SHA for 09f8af3 - Browse repository at this point
Copy the full SHA 09f8af3View commit details -
Fixes some incorrect usage of stdin/stdout pipes.
Configuration menu - View commit details
-
Copy full SHA for 669fbbd - Browse repository at this point
Copy the full SHA 669fbbdView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b42cd59 - Browse repository at this point
Copy the full SHA b42cd59View commit details
Commits on Feb 22, 2023
-
wasi: Env cleanup now at least flushes all file handles
Prevents issues with data not being sent / written before shutdown.
Configuration menu - View commit details
-
Copy full SHA for d471742 - Browse repository at this point
Copy the full SHA d471742View commit details -
c-api: wasi_env_delete now cleans up the WasiEnv state
Needed for proper cleanup of state.
Configuration menu - View commit details
-
Copy full SHA for 34c5bfe - Browse repository at this point
Copy the full SHA 34c5bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for af746cf - Browse repository at this point
Copy the full SHA af746cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0460e - Browse repository at this point
Copy the full SHA 4d0460eView commit details -
examples: Add a wasi_manual_setup example
To show the manual setup flow.
Configuration menu - View commit details
-
Copy full SHA for af24e33 - Browse repository at this point
Copy the full SHA af24e33View commit details -
Improve WasiEnv::cleanup(): close uniquely held file handles
Make the cleanup close all uniquely held file handles. All non-uniquely held ones will still be flushed.
Configuration menu - View commit details
-
Copy full SHA for 7018bd4 - Browse repository at this point
Copy the full SHA 7018bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ed3288 - Browse repository at this point
Copy the full SHA 7ed3288View commit details -
examples: Add some additional debug output to wasi example
Improves the output when running the example.
Configuration menu - View commit details
-
Copy full SHA for 4fd6a01 - Browse repository at this point
Copy the full SHA 4fd6a01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 355a145 - Browse repository at this point
Copy the full SHA 355a145View commit details -
wasi: Remove the hardcoded default boot from Console
The Console previously had a hardcoded boot webc package with a specific dash package published on the Wasmer registry. This level of hardcoding is not desireable. The boot package now has to be specified as an argument in the constructor.
Configuration menu - View commit details
-
Copy full SHA for 675a7c2 - Browse repository at this point
Copy the full SHA 675a7c2View commit details -
tests: Disable a few flaky snapshot tests
The disabled ones use threading and have non-deterministic output.
Configuration menu - View commit details
-
Copy full SHA for 1b6f443 - Browse repository at this point
Copy the full SHA 1b6f443View commit details -
Rename SpecialFile to DeviceFile
Because some people don't like anything special in their code base...
Configuration menu - View commit details
-
Copy full SHA for 16e92ff - Browse repository at this point
Copy the full SHA 16e92ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 134d2f6 - Browse repository at this point
Copy the full SHA 134d2f6View commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df6434f - Browse repository at this point
Copy the full SHA df6434fView commit details -
tests: Skip stdin_stdout_sterr snapshot test on Windows/Mac
Hangs forever on those platforms
Configuration menu - View commit details
-
Copy full SHA for fc4d38f - Browse repository at this point
Copy the full SHA fc4d38fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac7a2d - Browse repository at this point
Copy the full SHA 6ac7a2dView commit details -
tests: Ignore the sleep snapshot test on non-linux
Hangs indefinitely
Configuration menu - View commit details
-
Copy full SHA for 74f2d18 - Browse repository at this point
Copy the full SHA 74f2d18View commit details -
[CREATE-EXE] Link with Security framework when cross-compiling on mac…
…OS (and the framework definition is embedded in create-exe)
Configuration menu - View commit details
-
Copy full SHA for 5cf54b4 - Browse repository at this point
Copy the full SHA 5cf54b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b88966c - Browse repository at this point
Copy the full SHA b88966cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 265d9f6 - Browse repository at this point
Copy the full SHA 265d9f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7779e2e - Browse repository at this point
Copy the full SHA 7779e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c2aad2 - Browse repository at this point
Copy the full SHA 8c2aad2View commit details -
deps(wasi): Activate tokio time feature
This would previously already be pulled in automatically by dependencies, but needs to be manually enabled for JS builds
Configuration menu - View commit details
-
Copy full SHA for 0a422d8 - Browse repository at this point
Copy the full SHA 0a422d8View commit details -
HACK: Disable 3 create-exe integration tests
Just for the WASIX merge. Must be fixed and re-enabled. See #3615
Configuration menu - View commit details
-
Copy full SHA for b9c7b81 - Browse repository at this point
Copy the full SHA b9c7b81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99b43d6 - Browse repository at this point
Copy the full SHA 99b43d6View commit details