Commit Graph

261 Commits

Author SHA1 Message Date
5da98caf83 Merge branch 'master' into wat 2019-12-04 17:17:00 -08:00
c12dd859bb doc(wasi) Improve documentation of WasiVersion::Latest. 2019-12-04 14:12:30 +01:00
a79beede72 feat(wasi) Add the “volatile” WasiVersion::Latest version.
In addition to `Snapshot0` and `Snapshot1`, I believe it is an
interesting API to provide the `Latest` version, so that the user can
write:

```rust
generate_import_object_for_version(WasiVersion::Latest, …);
```

This is a way to ensure that modules will run only if they come with
the latest WASI version (in case of security issues for instance), by
just updating the runtime.

Note that it can be dangerous if not used carefully, but we assume the
user knows what it does by sticking on a specific “floating” version.

Also note that the `Latest` version is never returned by any API. It
is provided only by the user.
2019-12-02 15:53:40 +01:00
bb1e7a8d78 Prepare for 0.11.0 release 2019-11-22 11:18:06 -08:00
bdeec52152 Fix imports in test; copy manual implementations of Debug for wasi 2019-11-21 14:00:46 -08:00
68fa9e2639 Merge branch 'feature/add-support-for-new-wasi' of github.com:wasmerio/wasmer into feature/add-support-for-new-wasi 2019-11-21 11:31:00 -08:00
ddccdb92b8 More fixes for CI 2019-11-21 11:30:44 -08:00
36a26717c2 Merge branch 'master' into feature/add-support-for-new-wasi 2019-11-21 10:58:05 -08:00
be217e8f8e Update from feedback, fix CI issues, update wasi-test 2019-11-21 10:57:04 -08:00
cebcb4c927 Prepare for 0.10.2 release 2019-11-15 14:55:53 -08:00
9127eaf825 Add categories and keywords to Cargo.tomls 2019-11-13 15:46:09 -08:00
2b2a0628f7 Update from feedback, improve docs on new wasi fns 2019-11-12 17:02:07 -08:00
f1e5cd39d8 Add support for new WASI snapshot, backwards compat too 2019-11-12 13:01:03 -08:00
69950d9e5f Prepare for 0.10.1 release 2019-11-11 16:22:37 -08:00
0a216c0779 Prepare for 0.10.0 release 2019-11-11 12:13:53 -08:00
64783423ea Fix WASI append bug, add test 2019-11-08 11:17:04 -08:00
ef5faccb76 Update __wasi_rights_t and __wasi_signal_t with published changes 2019-11-04 13:45:19 -08:00
aaa0160c95 Fix values of __wasi_advice_t 2019-11-04 10:48:42 -08:00
8e6f4c448b reuse __WASI_EIO error code 2019-10-28 18:37:14 +03:00
b67f2c9f18 use getrandom instead of rand 2019-10-28 18:33:15 +03:00
82f258b888 Prepare for 0.9.0 release 2019-10-23 13:40:35 -07:00
0fd0ab6e58 Merge branch 'master' into ventuzelo/add-detail-unimplemented-calls-runtime 2019-10-23 12:30:14 -07:00
3a87edc0c1 Remove special casing of stdin, stdout, and stderr in WASI FS 2019-10-22 16:40:01 -07:00
4b3880c88b add details when calling unimplemented! 2019-10-03 11:26:54 +02:00
c77cbc1f40 Prepare for 0.8.0 release 2019-10-02 15:40:35 -07:00
afbde49d1f Update stub wasi generate import object fn
Fix typo

Fix debug issue
2019-10-02 13:16:47 -07:00
5185f120f4 Update some from feedback, fix tests
format with 1.37
2019-10-02 11:25:55 -07:00
4660bc6652 Update API to be more cleann 2019-09-30 17:52:53 -07:00
38602b257b Move validation to end of Builder 2019-09-30 16:32:18 -07:00
2e860e589a Add builder API for WasiState 2019-09-30 15:26:04 -07:00
871310a851 Improve docs from feedback 2019-09-27 10:15:40 -07:00
dc1744560c Add lots of rustdocs and clean up one line of code 2019-09-26 17:17:50 -07:00
fec90b570b Delete unused runtime-abi 2019-09-24 22:10:03 -07:00
9942d3ae98 Improved Emscripten / WASI autodetection 2019-09-22 18:23:22 -07:00
bf396ec76d Remove patch version in deps when not necessary 2019-09-20 16:11:09 -07:00
0f4d266e4e Prepare for 0.7.0 release 2019-09-12 12:44:38 -07:00
38048b6acf Merge #774
774: Introduce some breaking changes to WasiFS API for next release r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-09-12 18:55:29 +00:00
35ee83d5ca og -> original 2019-09-11 16:31:43 -07:00
6fe3719e8e Add test for closing wasi preopen fd 2019-09-11 14:25:53 -07:00
7e640c0dfb Introduce some breaking changes to WasiFS API for next release 2019-09-10 13:52:02 -07:00
7a9afbffe9 Merge branch 'master' into feature/serialization-of-wasi-state 2019-09-04 14:36:25 -07:00
d8471e2b6a Improved docs with custom logo and favicon 2019-09-03 17:06:31 -07:00
616b768529 Bump winapi from 0.3.7 to 0.3.8
Bumps [winapi](https://github.com/retep998/winapi-rs) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/retep998/winapi-rs/releases)
- [Commits](https://github.com/retep998/winapi-rs/compare/0.3.7...0.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 09:11:48 +00:00
85358a84ae framebuffer wip 2019-08-30 15:35:07 -07:00
8b32a838f7 Merge branch 'master' into feature/serialization-of-wasi-state 2019-08-30 05:16:50 +09:00
7027d7b2c8 Improve code reuse in polling, reduce cfg usage too 2019-08-29 10:54:27 -07:00
fba6dbff78 Add tests for stdin, stdout, stderr; implement bytes_available too 2019-08-29 10:42:38 -07:00
0776da7e22 Remove fd_entry lookup on stdin,out,err for wasi::poll_oneoff 2019-08-28 16:14:14 -07:00
6767087004 Always flush when writing, even if we get invalid pointers 2019-08-28 15:13:30 -07:00
8a2dba534a Improve error handling, fix probable lifetime issue 2019-08-28 13:19:06 -07:00