Dan Gohman
d722b354db
Miscellaneous tidying in the API docs.
- Don't include an extra "*" in type of Output arguments.
- Fix the summary of environ_sizes_get.
- Put fs_rights_base and fs_rights_inherinting arguments on separate lines.
- Sort fd_prestat_dirname alphabetically before fd_prestat_get.
6 years ago
Dan Gohman
9b1cd4bc7b
Document __wasi_preopentype_t and __wasi_prestat_t.
6 years ago
Dan Gohman
4262178cf5
Document the `git clone --recurse-submodules` requirement.
Currently, it's necessary to do this in order to obtain a lightbeam
checkout, in order to build wasmtime.
I'm very interested in learning about better ways to solve this problem.
6 years ago
Yury Delendik
07a6ca8f4e
Hack to not allow inlining even when Rust wants to do it in release mode.
6 years ago
Dan Gohman
1f9167f44d
Add a link to bindgen's documentation of the clang dependency.
6 years ago
Dan Gohman
f32581706f
Document that cmake and clang are build dependencies.
6 years ago
Dan Gohman
7e11511abd
Remove dead code.
6 years ago
Dan Gohman
b37ab7d13e
Fix a copy+pasto in the tutorial.
6 years ago
Dan Gohman
07b83c5db3
Add __WASI_RIGHT_PATH_FILESTAT_SET_SIZE to RIGHTS_DIRECTORY_BASE.
This is a new right not present in CloudABI, which is why the code
previously didn't include it.
6 years ago
Dan Gohman
b509ca0aa5
Tidy up unused import warnings.
6 years ago
Dan Gohman
30dcf4aed6
Lightbeam requires nightly, so don't use cargo test --all.
For now, test all non-nightly-only packages individually, rather than
using cargo test --all. Lightbeam's tests are run separately if nightly
is available.
6 years ago
Jef
9bf6d73210
Integrate Lightbeam ( #51 )
* Integrate lightbeam
6 years ago
Dan Gohman
a1c123c3dd
Fix grammar in documentation.
6 years ago
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).
6 years ago
Yury Delendik
474809f5f3
Support imports in wasm2obj
6 years ago
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.
6 years ago
Dan Gohman
5b77f95284
WASI: Implement translation for events and subscriptions.
6 years ago
Dan Gohman
7151c110d7
Implement decode/encode for __wasi_filestat_t.
6 years ago
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.
6 years ago
Dan Gohman
a6f31a2be3
Update Rust instructions, add a link to wasi-sysroot.
6 years ago
Dan Gohman
7378a0bfbe
Update Travis from trusty to xenial. ( #84 )
* Update Travis from trusty to xenial.
* Don't use getentropy on GLIBC < 2.25.
6 years ago
Dan Gohman
05a05551ba
Pre-opened directory resources are now supported; update the docs.
6 years ago
Dan Gohman
f53ed6d8ee
Document that `random_get` can block.
6 years ago
Dan Gohman
ab28cd9a2c
Tidy up wording in the explanation of capabilities, and link to the tutorial.
6 years ago
Dan Gohman
5adbf58482
Fix grammar.
6 years ago
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.
6 years ago
Dan Gohman
c37f245fc8
Update URLs for things that have moved.
6 years ago
Gene McCulley
1d4b704cb8
Update README.md
Small spelling fix.
6 years ago
Gene McCulley
c39a7f82cb
Update README.md
Fix grammar error.
6 years ago
Dan Gohman
01f8c87b76
Fix broken link to wasi-software-architecture.png.
6 years ago
Dan Gohman
002a61c32b
Fix a missing close paren.
6 years ago
Dan Gohman
d8242bc612
Add a blurb explaining the capability mapping support in WASI libc.
6 years ago
bjorn3
3ae7c60b13
Update src/wasmtime.rs
Fix spelling error.
Co-Authored-By: sunfishcode <sunfish@mozilla.com>
6 years ago
Dan Gohman
a4515a01e3
Add a proposed CG subgroup charter document.
6 years ago
Matthias Prechtl
3cb76f15da
Update README.md
Fix a missing comma.
Co-Authored-By: sunfishcode <sunfish@mozilla.com>
6 years ago
Dan Gohman
b2fefe7714
WASI prototype design, implementation, and documentation.
This adds documents describing the WASI Core API, and an implementation in
Wasmtime.
6 years ago
Dan Gohman
b0243b212f
Update the minimum Rust version to 1.32.
6 years ago
Yury Delendik
2353be95e6
update cranelift deps to 0.30.0
6 years ago
Yury Delendik
94ca967d0a
Update faerie to 0.9.1
6 years ago
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
6 years ago
Yury Delendik
7b9761f4a2
Update cranelift dependencies to 0.29.0 ( #59 )
6 years ago
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
6 years ago
Max McDonnell
6eb09d9edd
Parallelize the compilation loop with Rayon ( #58 )
6 years ago
Dan Gohman
04d4b20df4
Fix clippy.toml paths and a few clippy lints.
6 years ago
Dan Gohman
e2f79ae405
Do more `Vec` reserving.
6 years ago
Dan Gohman
538ef20f50
Use `with_capacity` to minimize reallocation.
6 years ago
Dan Gohman
cd21efd88a
Tidy up an unnecessary lambda.
6 years ago
Dan Gohman
e5f7da2e22
Tidy up redundant conversions.
6 years ago
Dan Gohman
fb7c1b7795
`Self` struct constructors are unstable.
6 years ago
Dan Gohman
3827bc7a04
Avoid struct name repetitions.
6 years ago