Jef
9bf6d73210
Integrate Lightbeam ( #51 )
...
* Integrate lightbeam
2019-04-05 12:42:54 -07:00
Dan Gohman
a1c123c3dd
Fix grammar in documentation.
2019-04-04 16:14:28 -07:00
Henrik Rydgård
f5ebdb8e6a
Get wasmtime building on Windows. ( #92 )
...
* Get wasmtime building on Windows.
Requires LLVM binaries from http://releases.llvm.org/download.html at
build time (bindgen).
2019-04-03 06:50:38 -07:00
Yury Delendik
474809f5f3
Support imports in wasm2obj
2019-04-02 22:02:24 -07:00
Dan Gohman
cc5efeb54d
WASI: Simplify byref translation.
...
Avoid needlessly copying data from wasm into the host for output
parameters, and factor out the `.unwrap()` for translating pointers
when writing to output parameters.
2019-04-01 15:55:40 -07:00
Dan Gohman
5b77f95284
WASI: Implement translation for events and subscriptions.
2019-04-01 15:55:40 -07:00
Dan Gohman
7151c110d7
Implement decode/encode for __wasi_filestat_t.
2019-04-01 13:35:43 -07:00
Dan Gohman
dd0d71b18f
Fix name name mangling of WASI functions in the JS polyfill.
...
Emscripten prefixes C functions with '_', so these functions end up
having 3 leading underscores.
2019-04-01 12:48:13 -07:00
Dan Gohman
a6f31a2be3
Update Rust instructions, add a link to wasi-sysroot.
2019-03-31 06:29:23 -07:00
Dan Gohman
7378a0bfbe
Update Travis from trusty to xenial. ( #84 )
...
* Update Travis from trusty to xenial.
* Don't use getentropy on GLIBC < 2.25.
2019-03-31 05:46:32 -07:00
Dan Gohman
05a05551ba
Pre-opened directory resources are now supported; update the docs.
2019-03-29 11:59:13 -07:00
Dan Gohman
f53ed6d8ee
Document that random_get can block.
2019-03-29 11:59:09 -07:00
Dan Gohman
ab28cd9a2c
Tidy up wording in the explanation of capabilities, and link to the tutorial.
2019-03-28 10:51:07 -07:00
Dan Gohman
5adbf58482
Fix grammar.
2019-03-28 10:47:46 -07:00
Dan Gohman
4fd7c4b931
Document the constraints on path_open's returned file descriptor.
...
Whether the downsides in POSIX and existing application compatibility
outweigh the benefits of thread safety remains an open question.
Right now, this note is just documenting the current behavior.
2019-03-28 10:42:48 -07:00
Dan Gohman
c37f245fc8
Update URLs for things that have moved.
2019-03-28 09:20:11 -07:00
Gene McCulley
1d4b704cb8
Update README.md
...
Small spelling fix.
2019-03-28 07:31:43 -07:00
Gene McCulley
c39a7f82cb
Update README.md
...
Fix grammar error.
2019-03-28 07:31:12 -07:00
Dan Gohman
01f8c87b76
Fix broken link to wasi-software-architecture.png.
2019-03-27 11:49:07 -07:00
Dan Gohman
002a61c32b
Fix a missing close paren.
2019-03-27 11:33:04 -07:00
Dan Gohman
d8242bc612
Add a blurb explaining the capability mapping support in WASI libc.
2019-03-27 11:29:19 -07:00
bjorn3
3ae7c60b13
Update src/wasmtime.rs
...
Fix spelling error.
Co-Authored-By: sunfishcode <sunfish@mozilla.com >
2019-03-27 10:58:43 -07:00
Dan Gohman
a4515a01e3
Add a proposed CG subgroup charter document.
2019-03-27 10:58:43 -07:00
Matthias Prechtl
3cb76f15da
Update README.md
...
Fix a missing comma.
Co-Authored-By: sunfishcode <sunfish@mozilla.com >
2019-03-27 10:58:43 -07:00
Dan Gohman
b2fefe7714
WASI prototype design, implementation, and documentation.
...
This adds documents describing the WASI Core API, and an implementation in
Wasmtime.
2019-03-27 10:58:43 -07:00
Dan Gohman
b0243b212f
Update the minimum Rust version to 1.32.
2019-03-27 02:25:13 -07:00
Yury Delendik
2353be95e6
update cranelift deps to 0.30.0
2019-03-27 02:24:51 -07:00
Yury Delendik
94ca967d0a
Update faerie to 0.9.1
2019-03-27 02:24:51 -07:00
Dan Gohman
db0abe8431
Move the wasmtime crate directories form lib/* to wasmtime-*.
...
This follows a similar change to Cranelift made here:
https://github.com/CraneStation/cranelift/pull/660
2019-03-20 11:30:28 -07:00
Yury Delendik
7b9761f4a2
Update cranelift dependencies to 0.29.0 ( #59 )
2019-03-06 18:55:24 -08:00
Yury Delendik
ddbc00752e
Generate debug info for LLDB/GDB ( #50 )
...
* Transform DWARF sections into native format for wasm2obj and wasmtime.
Generate DWARF sections based on WASM DWARF.
Ignore some of debug_info/debug_line for dead code.
* Fix test
2019-03-06 16:03:32 -08:00
Max McDonnell
6eb09d9edd
Parallelize the compilation loop with Rayon ( #58 )
2019-03-04 17:27:57 -08:00
Dan Gohman
04d4b20df4
Fix clippy.toml paths and a few clippy lints.
2019-03-01 15:49:29 -08:00
Dan Gohman
e2f79ae405
Do more Vec reserving.
2019-03-01 14:27:40 -08:00
Dan Gohman
538ef20f50
Use with_capacity to minimize reallocation.
2019-03-01 14:27:40 -08:00
Dan Gohman
cd21efd88a
Tidy up an unnecessary lambda.
2019-03-01 14:27:40 -08:00
Dan Gohman
e5f7da2e22
Tidy up redundant conversions.
2019-03-01 14:27:40 -08:00
Dan Gohman
fb7c1b7795
Self struct constructors are unstable.
2019-02-26 08:54:36 -08:00
Dan Gohman
3827bc7a04
Avoid struct name repetitions.
2019-02-26 08:54:36 -08:00
Dan Gohman
601057ec42
Tidy up a redundant field name.
2019-02-26 08:54:36 -08:00
Dan Gohman
d7dc36e752
Reorder the fields of Export::Function for consistency.
2019-02-26 08:54:36 -08:00
Dan Gohman
cadead6a86
Use code quotes around VMContext in comments.
2019-02-26 08:54:36 -08:00
Dan Gohman
3cc113482d
Rename InstanceContents to Instance.
2019-02-26 08:54:36 -08:00
Dan Gohman
5f201f6d73
Rename Instance to InstanceHandle.
2019-02-26 08:54:36 -08:00
Dan Gohman
21abecb158
Remove an unneeded mut.
2019-02-26 08:54:36 -08:00
Dan Gohman
077ee717a8
Make Instance a refcounting handle around InstanceContents.
2019-02-26 08:54:36 -08:00
Dan Gohman
a8cd5ef613
Refactor Instance's methods to just be wrappers around InstanceContents methods.
2019-02-26 08:54:36 -08:00
Dan Gohman
1ab9e17517
Move Instance's module field into InstanceContents.
2019-02-26 08:54:36 -08:00
Dan Gohman
c91ca1b10c
Reorganize ModuleEnvironment's contents to more closely reflect cranelift-wasm.
2019-02-21 20:41:36 -08:00
Dan Gohman
78f89f67a3
Update to Cranelift 0.28.0.
...
Also region 2.0.0 and bindgen 0.47.1.
2019-02-21 20:35:45 -08:00