Dan Gohman
09ace35295
Clippy: use ptr::add rather than ptr::offset.
2019-09-09 18:07:39 +02:00
Dan Gohman
34db7f0150
Update to syn 1 and quote 1.
2019-09-09 16:33:32 +02:00
Jakub Konka
33c78e2e5b
Fix formatting
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
612617b0ba
reuse the host::* consts in enum Error
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
c5339d01cf
refactor errno_from_ioerror
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
ae836df42d
reformat
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
57c19cf073
fixes
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
438c693508
Impl Fail
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
b812304d86
Remove .vscode
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
3fd0cdcc12
Cleanup
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
b09f7e860f
Refactor try_from and try_into error handing.
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
14aaffd46f
Initial error refactor
2019-09-09 11:26:06 +02:00
Marcin Mielniczuk
85a41d449c
Treat FIFOs' type as __WASI_FILETYPE_UNKNOWN.
2019-09-06 20:38:50 -07:00
Marcin Mielniczuk
c2d2b8066b
Add .vscode to .gitignore
2019-09-06 20:38:50 -07:00
Marcin Mielniczuk
d308c47822
Add a no-op implementation of fd_advise on Windows
...
Windows apparently has no similar syscall available.
2019-09-06 18:06:51 -07:00
Zack Slayton
1497825173
Updating link to Fuchsia blog post
2019-09-06 14:19:17 -07:00
Jakub Konka
2941c2022f
Refactor wasmtime-wasi crate
...
Changes:
* uses Rust edition 2018
* returns wasm32 errno directly rather than relying on
wasi_common::{host, memory} modules
* wraps extraction of memory and WASI context in a macro
2019-09-05 17:35:12 -07:00
Dan Gohman
6a09c5538f
Update lightbeam to latest master.
2019-09-05 17:15:55 -07:00
Artur Jamro
ade5c0dd2f
Trace log access to cache system
2019-09-05 17:14:32 -07:00
Artur Jamro
f65d8f2372
Refactor: cascade of matches in cache system
2019-09-05 17:14:32 -07:00
Artur Jamro
fad70eb8bb
Refactor usage of SecondaryMap impls (serde, PartialEq)
2019-09-05 17:14:32 -07:00
Andrew Brown
bb0a443747
Add stubs for constant relocation in RelocSink
2019-09-05 17:14:32 -07:00
Artur Jamro
364300f6cf
Use target triple in cache directory hierarchy ( #300 )
2019-09-04 13:12:27 -07:00
Andrew Brown
cc63d9df49
Add SIMD WASM spec tests from newly updated testsuite repo ( #319 )
...
See https://github.com/WebAssembly/testsuite
2019-09-04 11:42:50 -07:00
Yury Delendik
33e282c93f
Provide pre-compiled shared libraries for C-API ( #311 )
2019-08-30 15:59:58 +02:00
Marcin Mielniczuk
947eb1fb53
Move fd_advise on Linux to nix
2019-08-30 15:53:07 +02:00
Yury Delendik
eced4dd5ff
[wasmtime-py] Build wheels for python37 on linux ( #310 )
2019-08-30 09:30:48 +02:00
Jakub Konka
aa28a6d697
Add a test for fd_readdir
2019-08-28 22:50:44 +02:00
Jakub Konka
3609a82dc9
Fix incorrect fd_readdir behaviour
...
* when executed twice in a row, need to manually reset the stream
by calling seekdir with __WASI_DIRCOOKIE_START, if __WASI_DIRCOOKIE_START
was specified
* fix mapping between d_type and __wasi_filetype_t
* include minor refactor - removes use of wasm32 module on the
host's side
2019-08-28 22:01:24 +02:00
dependabot-preview[bot]
059c437236
Update wasmparser requirement from 0.36.0 to 0.37.1 ( #301 )
...
Updates the requirements on [wasmparser](https://github.com/yurydelendik/wasmparser.rs ) to permit the latest version.
- [Release notes](https://github.com/yurydelendik/wasmparser.rs/releases )
- [Commits](https://github.com/yurydelendik/wasmparser.rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-28 13:48:16 -05:00
Dan Gohman
8b5b22599f
Don't test wasmtime-wasi-c on Windows. ( #299 )
2019-08-26 15:04:36 -07:00
Dan Gohman
1b2c70309f
Only test wasmtime-py and wasmtime-rust if nightly is installed. ( #293 )
...
* Only test wasmtime-py and wasmtime-rust if nightly is installed.
* Update test-all.sh
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com >
2019-08-26 13:25:07 -07:00
Yury Delendik
c94c383a7c
[wasmtime-api] Implementation of classes for run-{reflect,start,global,memory}-c ( #295 )
...
Implements apis for reflect-c, start-c, run-global-c and run-memory-c
2019-08-26 10:07:02 -05:00
Marcin Mielniczuk
417ec0be01
Update src/sys/windows/hostcalls_impl/fs.rs
...
Co-Authored-By: Jakub Konka <kubkon@jakubkonka.com >
2019-08-26 15:49:48 +02:00
Marcin Mielniczuk
d617fe67ad
Check for socket type in filetype.
...
The signature for Windows has also been changed, so that the function
can be reused in cross-platform modules.
2019-08-26 15:49:48 +02:00
Dan Gohman
45fd9dadd8
Use winapi::ctypes::c_void on Windows. ( #297 )
...
`winapi::ctypes::c_void` is apparently distinct from `core::ffi::c_void`
and `libc::c_void`.
2019-08-24 07:04:31 -07:00
Marcin Mielniczuk
8db57bd6c6
Check if testsuite exists, set target dir
2019-08-23 20:36:11 -07:00
Jakub Konka
7e0e8daf46
Check out submodules in Azure
2019-08-23 20:36:11 -07:00
Marcin Mielniczuk
9f840ff6f1
Quick & dirty misc_testsuite
2019-08-23 20:36:11 -07:00
Artur Jamro
479592f8c5
Cache compression ( #234 )
2019-08-23 16:39:46 -07:00
Marcin Mielniczuk
9950bddee5
Use safe casts in path_filestat_set_times on unix.
2019-08-23 13:02:21 +02:00
Sendil Kumar
69d60c4711
update nix version
2019-08-23 09:24:38 +02:00
Dan Gohman
e7f67b1725
Format with rustfmt. ( #26 )
...
This will allow us to update the lightbeam version in Wasmtime.
2019-08-22 10:33:41 +02:00
Marcin Mielniczuk
1bf5106f40
Implement path_filestat_get & path_filestat_set_times on Windows.
2019-08-21 13:20:40 +02:00
Marcin Mielniczuk
2ed69b1d10
Add .concatenate() method to PathGet on Windows.
2019-08-21 13:20:40 +02:00
Marcin Mielniczuk
7a991921bf
Add the test for path_filestat_*
2019-08-21 09:57:35 +02:00
Yury Delendik
f88e92a57c
Better Wasmtime API for embedder ( #287 )
...
* Migrate wasm-rust-api code to wasmtime.
2019-08-21 00:35:26 -07:00
Dan Gohman
d7883dd60a
Don't publish misc_testsuite/*.wasm.
2019-08-21 00:04:00 -07:00
Dan Gohman
eb90f76b42
Add #![cfg(windows)] to allow publishing from non-Windows hosts.
2019-08-21 00:04:00 -07:00
Dan Gohman
19055d0178
Add description fields.
2019-08-21 00:04:00 -07:00