Commit Graph

8895 Commits

Author SHA1 Message Date
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
Benjamin Bouvier
27f4163b89 Fixes #716: Stub out parse_x86_cpuid in the non-x86 case; 2019-03-28 07:09:33 -07:00
Benjamin Bouvier
86430abc4c [meta] Port all the Cranelift instructions to the meta crate; 2019-03-28 14:13:29 +01:00
Benjamin Bouvier
3c31eac48c [meta] Port Instruction/InstructionGroup to the Rust meta crate; 2019-03-28 14:13:29 +01:00
Lars T Hansen
208c4e6da6 Fix a disasm formatting error 2019-03-28 14:12:39 +01:00
Jef
762cd3fb32 rustfmt 2019-03-28 10:22:43 +01:00
Jef
a8bb9fd634 Use latest wasmparser instead of fork 2019-03-28 10:14:40 +01: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
Jef
2a60d76bdc Update to latest cranelift 2019-03-27 15:20:17 +01:00
Benjamin Bouvier
d59bef1902 [meta] Port Formats and Operands to the Rust crate; 2019-03-27 14:43:27 +01:00
Benjamin Bouvier
146e0bd2f5 [meta] Port Typevar to the Rust crate; 2019-03-27 14:43:27 +01:00
Benjamin Bouvier
f3f449b45b [meta] Tweak generation of settings/registers; 2019-03-27 14:43:27 +01:00
Benjamin Bouvier
393b88af6e [meta] Implement UniqueTable in the Rust crate;
... and also rename the previously-named UniqueTable to UniqueSeqTable,
which is the name used in the Python code.
2019-03-27 14:43:27 +01:00
Benjamin Bouvier
72b0d26ee9 [meta] Add features to srcgen;
- Adds a compiler warning when the fmtln! macro isn't correctly used.
- Allow to add an empty line.
- Make the output of generated matches more beautiful, by having one
struct per line on the clause.
- Add a method to add match with doesn't read any data from fields.
- Make sure that the placeholder clause of a match is put at the end.
2019-03-27 14:43:27 +01:00
Benjamin Bouvier
68bda3a42d [meta-python] Fix typos; 2019-03-27 14:43:27 +01:00
Jef
1e5b09fbc4 Update README 2019-03-27 12:58:30 +01:00
Jef
79f26328d4 Improve efficiency of resetting stack pointer 2019-03-27 12:57:49 +01:00
Lars T Hansen
141ccb9e9d Add a --disasm option to clif-util wasm and compile (#713)
- Both the `wasm` and `compile` commands get this new subcommand, and it defaults to false.  This means that test runs with `wasm` can request disassembly (the main reason I am doing this) while test runs with `compile` now must request it, this changes current behavior.
- Switch to using context.compile_and_emit directly, and make the reloc and trap printers just accumulate output, not print it.  This allows us to factor the printing code into the disasm module.
2019-03-27 12:57:13 +01:00
Jef
652e2fdeec Fix some places that could have caused panics, update example assembly in readme 2019-03-27 12:44:51 +01:00
Jef
d50f075078 Add CondCode location so we can branch much more efficiently 2019-03-27 12:22:57 +01: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
Jef
11b26430b6 Fix on latest nightly 2019-03-27 10:06:54 +01:00
Dan Gohman
82c6867155 Work around Cargo #4866. (#699)
* Work around Cargo build #4866.

This fixes #697.

* Rename "cargo4866workaround" to "core" per review feedback.
2019-03-26 11:28:39 -07:00
Dan Gohman
1784060baf Add a sleep command between cargo publish invocations.
Crates.io no longer synchronously updates the crate index, so sleep for
a few seconds between cargo publish invocations to give it time to
update.
2019-03-26 11:07:20 -07:00
Jef
1ff22de331 Remove unused code 2019-03-26 17:50:03 +01:00
Dan Gohman
4dcbabf355 Update crate paths in publish-all.sh. 2019-03-26 09:48:20 -07:00
Jef
96df539554 Remove unused code 2019-03-26 17:40:57 +01:00
Dan Gohman
ec0b10cd34 Bump version to 0.30.0 2019-03-26 09:36:22 -07:00
Dan Gohman
6b854381bb Fix a documentation-comment warning. 2019-03-26 09:11:57 -07:00
Dan Gohman
6b85df0168 Update to wasmparser 0.29.2. 2019-03-26 09:06:41 -07:00
Dan Gohman
975b7f2e8d Put a space between "//!" and "```". 2019-03-26 08:40:25 -07:00
Jef
84b4fa0208 Update to latest cranelift 2019-03-26 16:02:30 +01:00
Jef
4f21ffc006 Update README 2019-03-26 15:07:20 +01:00
bjorn3
45efbf7973 Optimize switch codegen and improve docs (#712) 2019-03-26 11:04:02 +01:00
Jef
cf9c57e279 Fix br_if calling convention handling 2019-03-26 10:29:55 +01:00
Jef
f9e66eab84 Update README 2019-03-26 09:10:55 +01:00
Jef
3798890d71 Fix inter-function calls assuming that functions are allocated sequentially 2019-03-26 09:01:09 +01:00
Yury Delendik
5e12f4f2b8 Add missing use_srcloc in postopt and regalloc passes 2019-03-25 15:06:41 +01:00