Andrew Brown
290b51a5f6
Update wabt and spec test suite
...
Update wabt (see issue in https://github.com/pepyakin/wabt-rs/pull/56 ). Due to changes in wabt, the spec tests are updated as well.
2019-09-26 15:46:18 -07:00
Sergey Pepyakin
58e3e65bc8
Update lightbeam to rustfmt-ed revision
2019-09-26 15:44:47 -07:00
Dan Gohman
86142f2e94
Use r# to escape strings which may be rust keywords. ( #379 )
...
This is a minor simplification, replacing a hardcoded list of keywords.
2019-09-26 13:44:43 -07:00
Peter Huene
4288f33440
Fix borrow scope for store in WrappedCallable impl for WasmtimeFn.
...
This PR fixes the borrow scope of store in the `WrappedCallable` impl of
`WasmTimeFn` such that it does not remain borrowed across the call to
`wasmtime_call_trampoline`. By limiting the scope of the borrow, the
implementation can be reentered if an exported function calls an imported
function, which in turn calls another exported function.
Fixes #365 .
2019-09-26 12:55:58 -07:00
Dan Gohman
a666e14279
Temporarily switch to the rustfmt branch of lightbeam.
...
This is branched from master to apply rustfmt, as a temporary measure to
fix the CI.
2019-09-26 12:45:29 -07:00
Dan Gohman
10845134f7
Update to latest walrus, wasmparser, and wasm-webidl-bindings.
2019-09-26 12:34:58 -07:00
Peter Huene
622a630acd
Implement wasm_module_imports. ( #384 )
...
This commit implements `wasm_module_imports` and a few related APIs so that
import information can be read about a module.
2019-09-26 13:57:33 -05:00
Artur Jamro
286d2515f9
Check trap code in test suite assertions
2019-09-26 11:43:41 -07:00
Yury Delendik
b0fe01397b
Use HOST call convension in Func signature ( #383 )
2019-09-26 13:10:41 -05:00
Dan Gohman
f6f2995275
Update to the latest spec_testsuite.
...
This pulls in the fix in https://github.com/WebAssembly/spec/pull/1076 .
2019-09-25 22:07:48 -07:00
dependabot-preview[bot]
340cb3dcf5
Update wasmparser requirement from 0.38.0 to 0.39.1
...
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-09-25 21:27:30 -07:00
Paul Jackson
ab8707223c
clarify posix_fallocate vs fd_allocate in docs
2019-09-25 21:21:57 -07:00
Yury Delendik
b41e918ec3
[wasmtime-api] Fixes wasm_exporttype_type leak
2019-09-25 21:19:34 -07:00
Dan Gohman
e2efa6318b
Remove feature(alloc) declarations which are no longer needed.
2019-09-25 17:57:25 -07:00
Artur Jamro
fa9175f9e5
Trap registry
2019-09-25 17:56:08 -07:00
Artur Jamro
d1706117e5
Enable cache system by default
2019-09-25 16:48:18 -07:00
Artur Jamro
512b1196fd
Cache worker tests
2019-09-25 14:41:14 -07:00
Artur Jamro
134bf467e7
Update cranelift to 0.44.0
2019-09-25 13:04:10 -07:00
Nick Fitzgerald
1848cc0868
deps: Update cranelift-* to 0.43.1
2019-09-25 13:04:10 -07:00
Artur Jamro
dde1c6ba58
Cache configuration documentation
2019-09-23 16:03:28 -07:00
Artur Jamro
1c22211d57
Refactor cache configuration
2019-09-23 12:48:36 -07:00
Marius Wachtler
c3a519d3a1
wasm2obj: add -O / --optimize command line option
2019-09-23 12:46:52 -07:00
Mark Bestavros
bd613ecafd
Utilize cranelift-codegen's new all-arch feature to maintain architecture support
2019-09-19 10:39:41 -07:00
Artur Jamro
acd6a5ea58
Fix crash when cache disabled
2019-09-18 16:51:44 -07:00
Artur Jamro
febb0cb693
Cache worker
2019-09-18 16:43:27 -07:00
Yury Delendik
9c747db429
Make data() unsafe
2019-09-18 09:15:14 -07:00
Yury Delendik
6a41417b52
Add examples; refactor HostRef
2019-09-18 09:15:14 -07:00
Yury Delendik
042c87763e
add invariant checks
2019-09-12 17:11:34 -07:00
Yury Delendik
805fbb4d2a
rm private SignatureRegistry trait
2019-09-12 17:11:34 -07:00
Yury Delendik
ee26b9ead7
few comments.
2019-09-12 17:11:34 -07:00
Yury Delendik
263fa098a1
rm "callable" warning
2019-09-12 17:11:34 -07:00
Yury Delendik
164039f08d
Move table_utils into wasmtime_runtime
2019-09-12 17:11:34 -07:00
Yury Delendik
de1c0f63eb
Table operation; refactor Callable
2019-09-12 17:11:34 -07:00
dependabot-preview[bot]
e60bf7f7e8
Update wasmparser requirement from 0.37.1 to 0.38.0
...
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-09-12 07:47:05 -07:00
Artur Jamro
633dfa17ee
Cache config as a file
2019-09-11 00:12:25 -07:00
dependabot-preview[bot]
c42698dc85
Update pyo3 requirement from 0.7.0-alpha.1 to 0.8.0 ( #324 )
...
* Update pyo3 requirement from 0.7.0-alpha.1 to 0.8.0
Updates the requirements on [pyo3](https://github.com/pyo3/pyo3 ) to permit the latest version.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.7.0-alpha.1...v0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Change into_object() -> into_py()
2019-09-10 10:04:24 -05: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
Yury Delendik
eced4dd5ff
[wasmtime-py] Build wheels for python37 on linux ( #310 )
2019-08-30 09:30:48 +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