commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
cc84c693a355559237c72caa9688977a67bf3a52
Christopher Serr
2021-03-10T15:09:34
wasi-common: Timestamps should be in nanoseconds (#2717) Sleeping takes 1000x longer than it should because the timestamps are interpreted as microseconds by accident.
diff --git a/crates/wasi-common/src/snapshots/preview_0.rs b/crates/wasi-common/src/snapshots/preview_0.rs index fc92e76f0..65f4823a3 100644 --- a/crates/wasi-common/src/snapshots/preview_0.rs +++ b/crates/wasi-common/src/snapshots/preview_0.rs @@ -749,8 +749,8 @@ impl<'a> wasi_unstable::WasiUnstable for WasiCtx { ...
2
4
4
623290d42e4c688d02549671ec39c6c1dff6dce1
Peter Huene
2021-03-08T17:30:13
Use `anyhow::Error` in instantiation errors. This commit updates the error enums used in instantiation errors to encapsulate an `anyhow::Error` rather than a string.
diff --git a/crates/jit/src/instantiate.rs b/crates/jit/src/instantiate.rs index 250b83728..df6a17fa2 100644 --- a/crates/jit/src/instantiate.rs +++ b/crates/jit/src/instantiate.rs @@ -133,9 +133,9 @@ impl CompilationArtifacts { } let obj = obj.write().map_err(|_| { - ...
4
14
14
5fa0f8d46992e89ccb1c041360e9417d24d62f0f
Peter Huene
2021-03-08T17:23:17
Move linear memory faulted guard page tracking into `Memory`. This commit moves the tracking for faulted guard pages in a linear memory into `Memory`.
diff --git a/crates/runtime/src/instance.rs b/crates/runtime/src/instance.rs index 60e9e662a..927387036 100644 --- a/crates/runtime/src/instance.rs +++ b/crates/runtime/src/instance.rs @@ -69,11 +69,6 @@ pub(crate) struct Instance { /// Hosts can store arbitrary per-instance information here. host_state: Box<...
5
76
57
9b1693aa72f30cec1e14a70c73d16c07c9c71428
Amanieu d'Antras
2021-03-08T18:21:02
Add EntityList::truncate
diff --git a/cranelift/entity/src/list.rs b/cranelift/entity/src/list.rs index bc4002f25..d37ea8ae0 100644 --- a/cranelift/entity/src/list.rs +++ b/cranelift/entity/src/list.rs @@ -513,6 +513,37 @@ impl<T: EntityRef + ReservedValue> EntityList<T> { self.remove_last(len, pool); } + /// Shortens the li...
1
52
0
65d0bc58d29d2d4c467cd3f8618265c66e852f49
Amanieu d'Antras
2021-03-08T18:20:46
Add EntityList::deep_clone
diff --git a/cranelift/entity/src/list.rs b/cranelift/entity/src/list.rs index b05afb51a..bc4002f25 100644 --- a/cranelift/entity/src/list.rs +++ b/cranelift/entity/src/list.rs @@ -307,6 +307,24 @@ impl<T: EntityRef + ReservedValue> EntityList<T> { self.as_mut_slice(pool).get_mut(index) } + /// Creat...
1
37
0
b2abe74f25b8be6d095698d93d89029c33a32851
Amanieu d'Antras
2021-03-08T18:20:05
Improve codegen for remove and swap_remove on EntityList
diff --git a/cranelift/entity/src/list.rs b/cranelift/entity/src/list.rs index 3e583c5fd..b05afb51a 100644 --- a/cranelift/entity/src/list.rs +++ b/cranelift/entity/src/list.rs @@ -445,20 +445,8 @@ impl<T: EntityRef + ReservedValue> EntityList<T> { } } - /// Removes the element at position `index` fr...
1
25
23
352e51f68d01c8f588482ac1908dc565198333fb
Andrew Brown
2021-03-08T17:49:44
[simd] Implement load*_lane and store*_lane The Wasm SIMD specification has added new instructions that allow inserting to the lane of a vector from a memory location, and conversely, extracting from a lane of a vector to a memory location. The simplest implementation lowers these instructions, `load[8|16|32|64]_lane`...
diff --git a/build.rs b/build.rs index 539316691..88307adf9 100644 --- a/build.rs +++ b/build.rs @@ -192,14 +192,6 @@ fn experimental_x64_should_panic(testsuite: &str, testname: &str, strategy: &str ("simd", "simd_i32x4_trunc_sat_f64x2") => return true, ("simd", "simd_i64x2_extmul_i32x4") => return tr...
2
33
25
7a93132ffa4fbb3ea38e3821dc4cb4a93d61f782
Peter Huene
2021-03-08T17:04:13
Code review feedback. * Improve comments. * Drop old table element *after* updating the table. * Extract out the same `cfg_if!` to a single constant.
diff --git a/crates/runtime/src/instance/allocator/pooling/uffd.rs b/crates/runtime/src/instance/allocator/pooling/uffd.rs index 18e9eb3c2..93ffaf150 100644 --- a/crates/runtime/src/instance/allocator/pooling/uffd.rs +++ b/crates/runtime/src/instance/allocator/pooling/uffd.rs @@ -45,7 +45,11 @@ fn decommit(addr: *mut u...
4
19
25
8bd1c33fec08f27bfde02121b3a06d470a2eefe5
Dan Gohman
2021-03-08T15:03:08
Add a comment documenting fuel consumption rates. (#2711)
diff --git a/crates/wasmtime/src/store.rs b/crates/wasmtime/src/store.rs index 7945270a3..1b771417b 100644 --- a/crates/wasmtime/src/store.rs +++ b/crates/wasmtime/src/store.rs @@ -574,6 +574,11 @@ impl Store { /// immediately trap). This function must be called for the store to have /// some fuel to allow We...
1
5
0
8e51aefb2c842fb9861a4288dd78946b4fc2afc4
Peter Huene
2021-03-06T05:15:19
Extract out finding a passive segment. This commit extracts out a common pattern of finding a passive element or data segment into a `find_passive_segment` method.
diff --git a/crates/runtime/src/instance.rs b/crates/runtime/src/instance.rs index 9475e4751..60e9e662a 100644 --- a/crates/runtime/src/instance.rs +++ b/crates/runtime/src/instance.rs @@ -19,7 +19,9 @@ use more_asserts::assert_lt; use std::alloc::Layout; use std::any::Any; use std::cell::RefCell; +use std::collecti...
1
34
28
9801c681ce1bdceff9e7a2f1b6ef5a9fd4b94d43
Peter Huene
2021-03-06T02:05:02
Fail module translation for segments with overflowing offset+length. This commit fails translation of modules that have an segment offset, when added to the data length, overflows.
diff --git a/cranelift/wasm/src/sections_translator.rs b/cranelift/wasm/src/sections_translator.rs index 3906c0239..a67465835 100644 --- a/cranelift/wasm/src/sections_translator.rs +++ b/cranelift/wasm/src/sections_translator.rs @@ -401,6 +401,12 @@ pub fn parse_element_section<'data>( )); ...
1
12
0
1a0493946dc936e501c8091ab0fb996db6f85354
Peter Huene
2021-03-06T01:25:04
Make the storage of `wasmtime_runtime::Table` consistent. This change makes the storage of `Table` more internally consistent. Elements are stored as raw pointers for both static and dynamic table storage. Explicitly storing elements as pointers removes assumptions being made by the pooling allocator in terms of the...
diff --git a/crates/runtime/src/externref.rs b/crates/runtime/src/externref.rs index b5a8ef30b..7fd964b8e 100644 --- a/crates/runtime/src/externref.rs +++ b/crates/runtime/src/externref.rs @@ -351,8 +351,35 @@ impl VMExternRef { ptr } + /// Consume this `VMExternRef` into a raw, untyped pointer. + ...
4
341
272
84df5fa54a1573fdf7d68f9899fdf141a1e59d91
Pat Hickey
2021-03-05T16:55:49
use the async keyword as syntax in the macro invocation
diff --git a/crates/wiggle/generate/src/config.rs b/crates/wiggle/generate/src/config.rs index b6467da60..a430a8547 100644 --- a/crates/wiggle/generate/src/config.rs +++ b/crates/wiggle/generate/src/config.rs @@ -27,7 +27,6 @@ mod kw { syn::custom_keyword!(witx); syn::custom_keyword!(witx_literal); syn::...
5
11
13
a7190764e12ad0e69a06a2296d2e8171edba8d58
Peter Huene
2021-03-05T08:47:49
More code review changes. * Add more overflow checks in table/memory initialization. * Comment for `with_allocation_strategy` to explain ignored `Config` options. * Fix Wasmtime `Table` to not panic for type mismatches in `fill`/`copy`. * Add tests for that fix.
diff --git a/crates/runtime/src/instance/allocator.rs b/crates/runtime/src/instance/allocator.rs index c70105dfb..31ced83f5 100644 --- a/crates/runtime/src/instance/allocator.rs +++ b/crates/runtime/src/instance/allocator.rs @@ -168,33 +168,45 @@ pub unsafe trait InstanceAllocator: Send + Sync { unsafe fn dealloca...
5
154
79
a4084db09660d9cf51bc84d3dc625f1e9b228c4c
Peter Huene
2021-03-05T06:27:27
More feedback changes. * Don't reexport types from `wasmtime_runtime` from the `wasmtime` crate. * Add more comments.
diff --git a/crates/runtime/src/instance.rs b/crates/runtime/src/instance.rs index 7c06c6121..9475e4751 100644 --- a/crates/runtime/src/instance.rs +++ b/crates/runtime/src/instance.rs @@ -381,7 +381,11 @@ impl Instance { /// Returns `None` if memory can't be grown by the specified amount /// of pages. p...
3
241
53
5ee2b8742a53e93c5b6a7ca48a338096864c8d1f
Peter Huene
2021-03-03T21:27:56
Have `new_with_stack` impls return `io::Result`.
diff --git a/crates/fiber/src/lib.rs b/crates/fiber/src/lib.rs index 6c835c511..9a8d057f3 100644 --- a/crates/fiber/src/lib.rs +++ b/crates/fiber/src/lib.rs @@ -66,7 +66,7 @@ impl<'a, Resume, Yield, Return> Fiber<'a, Resume, Yield, Return> { func: impl FnOnce(Resume, &Suspend<Resume, Yield, Return>) -> Return ...
3
6
6
4e83392070025b850e41343bff070c6c59909c07
Peter Huene
2021-03-01T18:39:59
Fix bad merge. Fix a bad merge with the `async` feature that accidentally removed the allocation of fiber stacks via the instance allocator.
diff --git a/crates/wasmtime/src/store.rs b/crates/wasmtime/src/store.rs index 9445f852a..ae84a6203 100644 --- a/crates/wasmtime/src/store.rs +++ b/crates/wasmtime/src/store.rs @@ -754,12 +754,14 @@ impl Store { /// that the various comments are illuminating as to what's going on here. #[cfg(feature = "async"...
1
52
14
505437e35325912e096fd4fb1bb663e9e6dabc01
Peter Huene
2021-02-27T02:41:33
Code cleanup. Last minute code clean up to fix some comments and rename `address_space_size` to `memory_reservation_size` to better describe what the option is doing.
diff --git a/crates/environ/src/module.rs b/crates/environ/src/module.rs index 79342f354..b70748ec7 100644 --- a/crates/environ/src/module.rs +++ b/crates/environ/src/module.rs @@ -33,7 +33,7 @@ impl MemoryStyle { let maximum = std::cmp::min( memory.maximum.unwrap_or(WASM_MAX_PAGES), ...
6
57
53
a481e11e630c2680578742f8c3c498d8a1389f27
Peter Huene
2021-02-26T20:33:54
Add the `uffd` feature to the wasmtime crate docs.
diff --git a/crates/wasmtime/src/lib.rs b/crates/wasmtime/src/lib.rs index 12dd72b45..8b8a74c50 100644 --- a/crates/wasmtime/src/lib.rs +++ b/crates/wasmtime/src/lib.rs @@ -172,6 +172,12 @@ //! * `vtune` - Not enabled by default, this feature compiles in support for //! supporting VTune profiling of JIT code. //! ...
1
6
0
f48d1e2be4b2dcdbc7f872b3cb7457049fffd457
Peter Huene
2021-02-18T18:23:57
Use slice::fill for filling tables. Now that `slice::fill` is stable, update the table implementation in the runtime to use it.
diff --git a/crates/runtime/src/table.rs b/crates/runtime/src/table.rs index f8281c9cf..0469c4ff3 100644 --- a/crates/runtime/src/table.rs +++ b/crates/runtime/src/table.rs @@ -180,30 +180,18 @@ impl Table { } match val { - TableElement::FuncRef(r) => { - unsafe { - ...
1
12
24
9091f13dcdf13b92c6df2429c378ad3e81ad7597
Peter Huene
2021-02-18T02:22:36
Refactor `initialize_vmcontext`. This was originally written to support sourcing the table and memory definitions differently for the pooling allocator. However, both allocators do the exact same thing, so the closure arguments are no longer necessary. Additionally, this cleans up the code a bit to pass in the alloc...
diff --git a/crates/runtime/src/instance/allocator.rs b/crates/runtime/src/instance/allocator.rs index c45270e17..aae17c7f4 100644 --- a/crates/runtime/src/instance/allocator.rs +++ b/crates/runtime/src/instance/allocator.rs @@ -6,8 +6,8 @@ use crate::table::{Table, TableElement}; use crate::traphandlers::Trap; use c...
2
40
70
f5c4d87c45edd99d0789e56de85c77057b258848
Peter Huene
2021-02-17T07:27:14
Implement on-demand memory initialization for the uffd feature. This commit implements copying paged initialization data upon a fault of a linear memory page. If the initialization data is "paged", then the appropriate pages are copied into the Wasm page (or zeroed if the page is not present in the initialization dat...
diff --git a/Cargo.lock b/Cargo.lock index 3b22f19a5..73dbdecd4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3324,6 +3324,7 @@ dependencies = [ "indexmap", "log", "more-asserts", + "region", "serde", "thiserror", "wasmparser", diff --git a/crates/environ/Cargo.toml b/crates/environ/Cargo.toml index 230295ae...
10
562
334
a82f1a323fc66fb0f7a54f6b91aed9f200abf868
Peter Huene
2021-02-11T19:05:16
Skip the stack tests on Windows. As Windows uses the native fiber implementation, the stack tests should be ignored on Windows as the implementation intentionally errors when handing out stacks.
diff --git a/crates/runtime/src/instance/allocator/pooling.rs b/crates/runtime/src/instance/allocator/pooling.rs index e40198831..9351e94ca 100644 --- a/crates/runtime/src/instance/allocator/pooling.rs +++ b/crates/runtime/src/instance/allocator/pooling.rs @@ -1557,7 +1557,7 @@ mod test { Ok(()) } - ...
1
2
2
5b2f8789b2a0027df52cdb8e98f8c0915d84fced
Peter Huene
2021-02-11T07:04:04
Allow zero-sized allocations on Windows for `Mmap`.
diff --git a/crates/runtime/src/mmap.rs b/crates/runtime/src/mmap.rs index 61ccda927..e60e87e37 100644 --- a/crates/runtime/src/mmap.rs +++ b/crates/runtime/src/mmap.rs @@ -124,6 +124,10 @@ impl Mmap { use winapi::um::memoryapi::VirtualAlloc; use winapi::um::winnt::{MEM_COMMIT, MEM_RESERVE, PAGE_NOACC...
1
4
0
16ca5e16d940eb1ecd2d5e11eaee92c1ad29df3e
Peter Huene
2021-02-04T21:05:01
Implement allocating fiber stacks for an instance allocator. This commit implements allocating fiber stacks in an instance allocator. The on-demand instance allocator doesn't support custom stacks, so the implementation will use the allocation from `wasmtime-fiber` for the fiber stacks. In the future, the pooling in...
diff --git a/crates/c-api/src/config.rs b/crates/c-api/src/config.rs index 3bb7f0c5c..f84bc320c 100644 --- a/crates/c-api/src/config.rs +++ b/crates/c-api/src/config.rs @@ -61,8 +61,8 @@ pub extern "C" fn wasmtime_config_consume_fuel_set(c: &mut wasm_config_t, enable } #[no_mangle] -pub extern "C" fn wasmtime_confi...
7
161
37
3bb145f65c4a3b840d02bd7704c2affe51539d1b
Peter Huene
2020-12-16T21:00:35
Only treat a memory as static when the minimum is also within bounds. With the change to artificially limit unbounded memories based on Tunables, it's possible to hit the assert where the minimum might exceed the static memory bound. This commit removes the assert in favor of a check to see if the minimum also fits w...
diff --git a/crates/environ/src/module.rs b/crates/environ/src/module.rs index 7282501e4..8daefaf07 100644 --- a/crates/environ/src/module.rs +++ b/crates/environ/src/module.rs @@ -6,7 +6,6 @@ use cranelift_codegen::ir; use cranelift_entity::{EntityRef, PrimaryMap}; use cranelift_wasm::*; use indexmap::IndexMap; -us...
1
8
7
8457261cfe6fffb80049b025bb259909afab98d8
Peter Huene
2020-12-15T01:12:54
Ensure default allocator is used for instance deallocation. Handles created with `create_handle` need to be deallocated with the default (on-demand) instance allocator. This commit changes Store such that handles can be added with a flag that is used to force deallocation via the default instance allocator when the S...
diff --git a/crates/wasmtime/src/instance.rs b/crates/wasmtime/src/instance.rs index 87936fd53..7048d9333 100644 --- a/crates/wasmtime/src/instance.rs +++ b/crates/wasmtime/src/instance.rs @@ -520,7 +520,7 @@ impl<'a> Instantiator<'a> { // initializers may have run which placed elements into other instance...
3
32
9
5beb81d02a2d82d26132d2a289f750dd5f1320b3
Peter Huene
2020-12-09T18:15:32
Change how Instance stores instantiated memories in the runtime. This commit changes `Instance` such that memories can be stored statically, with just a base pointer, size, maximum, and a callback to make memory accessible. Previously the memories were being stored as boxed trait objects, which would require the pool...
diff --git a/crates/runtime/src/instance.rs b/crates/runtime/src/instance.rs index 396d60f9a..91a0dd5c4 100644 --- a/crates/runtime/src/instance.rs +++ b/crates/runtime/src/instance.rs @@ -4,7 +4,7 @@ use crate::export::Export; use crate::externref::{StackMapRegistry, VMExternRefActivationsTable}; -use crate::memor...
4
121
12
dd284ac218ffb29fc4ee27df919649eff2c786b0
Peter Huene
2020-12-08T20:13:15
Store memories and tables on Instance as PrimaryMap. This commit changes how memories and tables are stored in `Instance`. Previously, the memories and tables were stored as a `BoxedSlice`. Storing it this way requires an allocation to change the length of the memories and tables, which is desirable for a pooling ins...
diff --git a/crates/runtime/src/instance.rs b/crates/runtime/src/instance.rs index cdb892842..396d60f9a 100644 --- a/crates/runtime/src/instance.rs +++ b/crates/runtime/src/instance.rs @@ -24,7 +24,7 @@ use std::ptr::NonNull; use std::rc::Rc; use std::sync::Arc; use std::{mem, ptr, slice}; -use wasmtime_environ::ent...
2
8
10
f0d93d102ccf56c465b0dc5fc603faab20b357fd
Peter Huene
2020-12-08T06:26:38
Refactor runtime `Table` to support static storage. This commit refactors `Table` in the runtime such that it can be created from a pointer to existing table data. The current `Vec` backing of the `Table` is considered to be "dynamic" storage. This will be used for the upcoming pooling allocator where table memory i...
diff --git a/crates/runtime/src/instance/allocator.rs b/crates/runtime/src/instance/allocator.rs index bda83832b..ba00aedaf 100644 --- a/crates/runtime/src/instance/allocator.rs +++ b/crates/runtime/src/instance/allocator.rs @@ -290,7 +290,7 @@ impl OnDemandInstanceAllocator { let mut tables: PrimaryMap<Define...
2
291
99
c8871ee1e6b10d635ee2f36f397c72153f1d4543
Peter Huene
2020-12-08T06:12:33
Allow instance allocators control over module compilation. This commit introduces two new methods on `InstanceAllocator`: * `validate_module` - this method is used to validate a module after translation but before compilation. It will be used for the upcoming pooling allocator to ensure a module being compiled ad...
diff --git a/crates/cache/src/lib.rs b/crates/cache/src/lib.rs index 9fe69c5ba..fc50ff4da 100644 --- a/crates/cache/src/lib.rs +++ b/crates/cache/src/lib.rs @@ -43,7 +43,7 @@ impl<'config> ModuleCacheEntry<'config> { } /// Gets cached data if state matches, otherwise calls the `compute`. - pub fn get_dat...
9
112
45
af49505e7321564d7f5f709e8afe401b22f48db4
Pat Hickey
2021-03-05T01:28:31
bump cargo.lock, add wiggle-generate and wiggle-macro to workspace wiggle-macro doc tests weren't being run, so docs had gotten out of sync.
diff --git a/Cargo.lock b/Cargo.lock index fd67cb53e..304e6ab68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -125,6 +125,17 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +[[package]] +name = "async-t...
2
16
0
bcebdd43ef40b5e7034a5794142586f6834df3cc
Pat Hickey
2021-03-05T01:28:20
wiggle use sites: remove ctx argument
diff --git a/crates/wasi-common/src/snapshots/preview_0.rs b/crates/wasi-common/src/snapshots/preview_0.rs index 4d1ee4c77..fc92e76f0 100644 --- a/crates/wasi-common/src/snapshots/preview_0.rs +++ b/crates/wasi-common/src/snapshots/preview_0.rs @@ -15,7 +15,6 @@ use wiggle::GuestPtr; wiggle::from_witx!({ witx: ...
4
0
4
c4d8e2323a7c68346aa38df266dea300ef375043
Pat Hickey
2021-03-05T01:27:34
wiggle tests: fixes for new syntax
diff --git a/crates/wiggle/test-helpers/examples/tracing.rs b/crates/wiggle/test-helpers/examples/tracing.rs index fe2dd51d8..1e1517d8d 100644 --- a/crates/wiggle/test-helpers/examples/tracing.rs +++ b/crates/wiggle/test-helpers/examples/tracing.rs @@ -24,7 +24,6 @@ witx_literal: " (param $s $s) (result $er...
14
139
17
f11cd8e7b18130d5d43d85304add98b3b38a5168
Pat Hickey
2021-03-05T01:26:09
wiggle: add support for async traits; ABI func is now generic of ctx * ctx parameter no longer accepted by wiggle::from_witx macro. * optional async_ parameter specifies which functions are async. * re-export async_trait::async_trait, so users don't have to take a dep.
diff --git a/crates/wiggle/Cargo.toml b/crates/wiggle/Cargo.toml index 88c8315bd..a5fdbf7cb 100644 --- a/crates/wiggle/Cargo.toml +++ b/crates/wiggle/Cargo.toml @@ -16,6 +16,7 @@ witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9", optional = tr wiggle-macro = { path = "macro", version = "0.23.0" } trac...
9
259
96
a5d49c07a7fb10209529e00040f5bf761c22d7fa
Pat Hickey
2021-03-04T20:57:28
wasmtime: add `Linker::instantiate_async` to go with `Instance::new_async`
diff --git a/crates/wasmtime/src/linker.rs b/crates/wasmtime/src/linker.rs index 5875cf889..e5397556f 100644 --- a/crates/wasmtime/src/linker.rs +++ b/crates/wasmtime/src/linker.rs @@ -601,6 +601,16 @@ impl Linker { Instance::new(&self.store, module, &imports) } + /// Attempts to instantiate the `mod...
1
10
0
2190fb68fd3c8e6743de689c5a5bf911599e2f01
Johnnie Birch
2021-03-04T08:01:02
Update version for fs-set-times to 3.1
diff --git a/Cargo.lock b/Cargo.lock index 648fefcd3..fd67cb53e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "adler" -version = "0.2.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a4ec343196209d6594e19543ae87a...
2
102
131
cfbe0ef96a774068dfa2377fc8c390720ac2f618
Andrew Brown
2021-03-02T18:20:42
[x64] Re-enable simd_lane.wast spec tests
diff --git a/build.rs b/build.rs index 8784dfa4b..539316691 100644 --- a/build.rs +++ b/build.rs @@ -224,10 +224,6 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool { return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64"; } - // Waiting for an updat...
1
0
4
4a809fc8fd25c99ce50e67ac73ccc5c164a59976
Andrew Brown
2021-03-02T18:17:01
[x64] Add i64x2.all_true and i64x2.bitmask These instructions already had CLIF implementations but were only recently approved in the Wasm SIMD working group.
diff --git a/build.rs b/build.rs index 1c55f0ef5..8784dfa4b 100644 --- a/build.rs +++ b/build.rs @@ -226,7 +226,7 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool { // Waiting for an update to the spec testsuite to not use old // instruction names. - ("simd", ...
2
16
7
508f8fa5a921240ff2d25fd2eb859366c87834a3
Andrew Brown
2021-03-02T17:54:19
[x64] Add i64x2.abs This instruction has a single instruction lowering in AVX512F/VL and a three instruction lowering in AVX but neither is currently supported in the x64 backend. To implement this, we instead subtract the vector from 0 and use a blending instruction to pick the lanes containing the absolute value.
diff --git a/build.rs b/build.rs index 5d7d836d8..1c55f0ef5 100644 --- a/build.rs +++ b/build.rs @@ -183,7 +183,6 @@ fn experimental_x64_should_panic(testsuite: &str, testname: &str, strategy: &str match (testsuite, testname) { ("simd", "simd_i8x16_arith2") => return true, // Unsupported feature: propos...
6
36
6
3c57c1b2bc93107fd446c880ba6e366892ddf3bf
Andrew Brown
2021-03-02T17:08:51
Enable simd_i64x2_cmp.wast for aarch64 As mentioned in https://github.com/bytecodealliance/wasmtime/pull/2697#discussion_r585168434, this commit enables the simd_i64x2_cmp.wast spec test on aarch64; I had mistakenly classified the test as only working on x64.
diff --git a/build.rs b/build.rs index bd8758c4e..5d7d836d8 100644 --- a/build.rs +++ b/build.rs @@ -250,11 +250,9 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool { | ("simd", "simd_store64_lane") | ("simd", "simd_store8_lane") => return true, - // These are ...
1
2
4
d730f18a78b911a36262953c5f749b76d565a6b7
Andrew Brown
2021-02-26T22:55:58
[x64] Add the new i64x2 comparisons
diff --git a/build.rs b/build.rs index 86877ff87..bd8758c4e 100644 --- a/build.rs +++ b/build.rs @@ -182,7 +182,6 @@ fn experimental_x64_should_panic(testsuite: &str, testname: &str, strategy: &str } match (testsuite, testname) { - ("simd", "simd_i64x2_cmp") => return true, ("simd", "simd_i8...
3
53
20
c361485c9ed4e0d62db202bee7cd301f93ee3b87
Nick Fitzgerald
2021-03-01T17:55:38
fuzz: Remove peepmatic fuzz targets There are occasional timeouts in type checking where Z3 hangs. This is a known issue[0] with the implementation of type checking in Peepmatic, and getting these timeouts in the fuzzers is just annoying and adds noise to our fuzzing results. When we fix [0] we can reintroduce these f...
diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index d90052e76..2b40128d2 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -64,41 +64,6 @@ path = "fuzz_targets/table_ops.rs" test = false doc = false -[[bin]] -name = "peepmatic_simple_automata" -path = "fuzz_targets/peepmatic_simple_automata.rs" -test = false -...
6
0
74
824ce7bf89851d6c3226eae41215167e64a0e6f9
Nick Fitzgerald
2021-02-25T22:35:47
deps: Update `Arbitrary` to 1.0; `libfuzzer-sys` to 0.4.0; `wasm-smith` to 0.4.0
diff --git a/Cargo.lock b/Cargo.lock index 10fd8fea6..924a41bcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -112,9 +112,9 @@ checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1" [[package]] name = "arbitrary" -version = "0.4.7" +version = "1.0.0" source = "registry+https://github.com/rust-...
7
20
41
40db4de44ac4b2b42ee3a8b1fd406fb5ff141765
Chris Fallin
2021-02-24T21:57:52
Fix incomplete trap metadata due to multiple traps at one address. If an instruction has more than one trap record associated with it (for example: a divide instruction that has participated in load-op fusion, so we have both a heap-out-of-bounds trap record due to its load and a divide-by-zero trap record due to its ...
diff --git a/cranelift/codegen/src/isa/x64/inst/emit.rs b/cranelift/codegen/src/isa/x64/inst/emit.rs index 51775e0a2..f42953c2d 100644 --- a/cranelift/codegen/src/isa/x64/inst/emit.rs +++ b/cranelift/codegen/src/isa/x64/inst/emit.rs @@ -232,7 +232,7 @@ fn emit_std_enc_mem( let srcloc = state.cur_srcloc(); l...
3
108
17
707f83d4131b1b2cd3a2dfd3bea6baada749fa08
Alex Crichton
2021-02-23T18:42:20
Fix preservation of the sigaltstack on macOS (#2676) * Fix preservation of the sigaltstack on macOS This commit fixes an issue discovered in the wasmtime-go bindings when the Go runtime was crashing on macOS only when running wasm code that trapped. It turns out that our switch to `siglongjmp` from `longjmp` act...
diff --git a/crates/runtime/src/traphandlers.rs b/crates/runtime/src/traphandlers.rs index feaf2c4a9..6860e381a 100644 --- a/crates/runtime/src/traphandlers.rs +++ b/crates/runtime/src/traphandlers.rs @@ -118,6 +118,42 @@ cfg_if::cfg_if! { return false; } else if jmp_buf as usize =...
1
71
0
4559537f24ac589c91a1fbf22a94ca33093e6d19
Pat Hickey
2021-02-23T17:08:43
latest tracing-subscriber fixes performance problem reported in #2662
diff --git a/Cargo.lock b/Cargo.lock index 29ac6da5e..10fd8fea6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2791,9 +2791,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.22" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f47026cdc4080c07e49b370...
2
9
9
96556ed7000b9fcd032706e48543cbba839b1d92
Andrew Brown
2021-02-23T15:18:37
Optionally compile wasmtime-bench-api with wasi-nn and wasi-crypto (#2677) This adds the ability to add feature flags (e.g. `--features wasi-nn`) when compiling `wasmtime-bench-api` to allow benchmarking Wasmtime with WASI proposals included. Note that due to https://github.com/rust-lang/cargo/issues/5364, these featu...
diff --git a/Cargo.lock b/Cargo.lock index 5d52e2543..29ac6da5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3148,6 +3148,8 @@ dependencies = [ "wasi-cap-std-sync", "wasmtime", "wasmtime-wasi", + "wasmtime-wasi-crypto", + "wasmtime-wasi-nn", "wat", ] diff --git a/crates/bench-api/Cargo.toml b/crates/bench-ap...
3
35
3
a710fc442525146a30f2d4086768327b03af3b0c
bjorn3
2021-02-22T15:00:37
Make Module object safe
diff --git a/cranelift/jit/src/backend.rs b/cranelift/jit/src/backend.rs index 418b26ef5..470e69ccc 100644 --- a/cranelift/jit/src/backend.rs +++ b/cranelift/jit/src/backend.rs @@ -596,15 +596,12 @@ impl Module for JITModule { ctx.import_global_value(ir::ExternalName::user(1, data.as_u32())) } - fn d...
3
12
23
136755ade2d91bd7d4d1a640e8b18d45eeb8887c
Alex Crichton
2021-02-17T22:56:00
Fix wiggle trace example
diff --git a/crates/wiggle/test-helpers/examples/tracing.rs b/crates/wiggle/test-helpers/examples/tracing.rs index 0f06e1850..fe2dd51d8 100644 --- a/crates/wiggle/test-helpers/examples/tracing.rs +++ b/crates/wiggle/test-helpers/examples/tracing.rs @@ -15,15 +15,14 @@ pub enum RichError { // trivial function. wiggle:...
1
7
8
aed6de32d4e5603a7f85619d84099a9a05cb7a7c
Alex Crichton
2021-02-18T18:34:48
Automatically add wasmtime-publish team while publishing (#2663) This updates the publication script we have for crates to ensure that the `wasmtime-publish` GitHub team is added to all crates published. This will fail for most publications because the team is already listed, but the hope is that whomever is publis...
diff --git a/scripts/publish.rs b/scripts/publish.rs index f36daea8d..8820a3728 100644 --- a/scripts/publish.rs +++ b/scripts/publish.rs @@ -271,6 +271,17 @@ fn publish(krate: &Crate) { if !status.success() { println!("FAIL: failed to publish `{}`: {}", krate.name, status); } + + // Note that the ...
1
11
0
445e539ae0529ef46ce52bd739526f74caa71aac
Max de Danschutter
2021-02-18T17:29:52
Disable wasmtime default-features in wasi crate (#2664)
diff --git a/crates/wasi/Cargo.toml b/crates/wasi/Cargo.toml index 953c0371a..404ac5cf7 100644 --- a/crates/wasi/Cargo.toml +++ b/crates/wasi/Cargo.toml @@ -16,5 +16,5 @@ build = "build.rs" wasi-common = { path = "../wasi-common", version = "0.23.0" } wiggle = { path = "../wiggle", default-features = false, version =...
1
1
1
ff22842da5b2f7879af50106bc3e64f5e65d181d
bjorn3
2021-02-14T10:42:28
More atomic ops
diff --git a/cranelift/codegen/meta/src/shared/immediates.rs b/cranelift/codegen/meta/src/shared/immediates.rs index 0aa4129da..9811dcc0c 100644 --- a/cranelift/codegen/meta/src/shared/immediates.rs +++ b/cranelift/codegen/meta/src/shared/immediates.rs @@ -164,9 +164,14 @@ impl Immediates { atomic_rmw_...
6
104
15
0693b7dade171b25f0957c5c75e18e3d8c4cdd14
bjorn3
2021-02-16T18:01:02
Include git rev in the version number
diff --git a/cranelift/codegen/build.rs b/cranelift/codegen/build.rs index c45690884..dd6cfc999 100644 --- a/cranelift/codegen/build.rs +++ b/cranelift/codegen/build.rs @@ -17,6 +17,7 @@ use cranelift_codegen_meta as meta; use std::env; +use std::io::Read; use std::process; use std::time::Instant; @@ -97,4 +98,...
2
38
2
720da20588e0e984b1c1ff5eb63b84206b026d65
bjorn3
2021-02-11T10:08:54
Describe serialization format
diff --git a/cranelift/codegen/src/ir/layout.rs b/cranelift/codegen/src/ir/layout.rs index 9359c309d..f6272199b 100644 --- a/cranelift/codegen/src/ir/layout.rs +++ b/cranelift/codegen/src/ir/layout.rs @@ -781,6 +781,17 @@ impl<'f> DoubleEndedIterator for Insts<'f> { } } +/// A custom serialize and deserialize i...
1
11
0
a0c2276ee7bd71a619f0f66c7a875cb8c54409ac
bjorn3
2021-02-08T10:48:54
Add a version marker This prevents deserializing a function with a different Cranelift version
diff --git a/cranelift/codegen/src/ir/function.rs b/cranelift/codegen/src/ir/function.rs index f5dc7f916..1b579e18a 100644 --- a/cranelift/codegen/src/ir/function.rs +++ b/cranelift/codegen/src/ir/function.rs @@ -18,19 +18,63 @@ use crate::isa::{CallConv, EncInfo, Encoding, Legalize, TargetIsa}; use crate::regalloc::{...
1
46
1
71e468a954e4054fd88d0030146c8009cafc41a2
bjorn3
2020-12-19T15:38:08
Remove most of cranelift-serde
diff --git a/cranelift/serde/Cargo.toml b/cranelift/serde/Cargo.toml index 00eef94a8..7797865ef 100644 --- a/cranelift/serde/Cargo.toml +++ b/cranelift/serde/Cargo.toml @@ -18,7 +18,7 @@ clap = "2.32.0" serde = "1.0.8" serde_derive = "1.0.75" serde_json = "1.0.26" -cranelift-codegen = { path = "../codegen", version ...
3
5
985
2fc964ea35a050d7523095a62c002918cfa13a55
bjorn3
2020-12-19T15:32:46
Add serde serialization support for the full clif ir
diff --git a/Cargo.lock b/Cargo.lock index f402f5aef..594805262 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -550,6 +550,9 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" version = "0.70.0" +dependencies = [ + "serde", +] [[package]] name = "cranelift-entity" diff --git a/cranelift/codegen/Cargo...
25
195
4
9c3edee9d06e8f56ef454eb79b196e60ffefdb43
Kasey Carrothers
2021-02-16T01:40:20
Add methods to construct RexFlags from OperandSizes. This unifies the logic around Rex prefix emission and hopefully makes REX prefix errors less likely. There are still several instructions that use other sources to determine the flags, so set_w and clear_w are left as is. Additional cleanups: * Change always_emit...
diff --git a/cranelift/codegen/src/isa/x64/inst/emit.rs b/cranelift/codegen/src/isa/x64/inst/emit.rs index 828337c12..36ca96a4a 100644 --- a/cranelift/codegen/src/isa/x64/inst/emit.rs +++ b/cranelift/codegen/src/isa/x64/inst/emit.rs @@ -85,8 +85,9 @@ impl RexFlags { } #[inline(always)] - fn always_emit_i...
1
129
193
fdd6bcae2e3a3e86bc1b712b86307461df073541
c0deb0t
2021-02-16T23:13:23
Specified type for V128AnyTrue
diff --git a/cranelift/wasm/src/code_translator.rs b/cranelift/wasm/src/code_translator.rs index a20975b25..5cdcd36a7 100644 --- a/cranelift/wasm/src/code_translator.rs +++ b/cranelift/wasm/src/code_translator.rs @@ -2516,6 +2516,7 @@ fn type_of(operator: &Operator) -> Type { | Operator::V128AndNot | ...
1
1
0
3ed46e47e96cfe78313287cffd5b6e8032dacb17
Dan Gohman
2021-02-16T20:57:07
Supress a warning in lightbeam.
diff --git a/crates/lightbeam/src/backend.rs b/crates/lightbeam/src/backend.rs index 6be49873e..240364320 100644 --- a/crates/lightbeam/src/backend.rs +++ b/crates/lightbeam/src/backend.rs @@ -785,6 +785,7 @@ use labels::{LabelInfo, LabelValue, Labels}; pub struct Context<'this, M> { pub asm: &'this mut Assembler...
1
1
0
e5267f056f2d13434fb11ac7fe649428336f6cff
Chris Fallin
2021-02-16T16:50:03
Update `rand` dependency to 0.8.3.
diff --git a/Cargo.lock b/Cargo.lock index 0118c5e1e..b802d07e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "addr2line" version = "0.14.1" diff --git a/cranelift/peepmatic/crate...
2
3
1
8cd64e3ec671759f7a6275e3780cb63846dd83b4
Chris Fallin
2021-02-16T16:34:00
Fix warnings (causing CI failures) with new Rust beta. - Panic messages must now be string literals (we used `format!()` in many places; `panic!()` can take format strings directly). - Some dead enum options with EVEX encoding stuff in old x86 backend. This will go away soon and/or be moved to the new backend anyw...
diff --git a/cranelift/codegen/src/isa/x86/binemit.rs b/cranelift/codegen/src/isa/x86/binemit.rs index 90ed8b7ef..048087367 100644 --- a/cranelift/codegen/src/isa/x86/binemit.rs +++ b/cranelift/codegen/src/isa/x86/binemit.rs @@ -277,6 +277,7 @@ impl EvexContext { } /// The EVEX format allows choosing a vector lengt...
5
8
13
d0e5d347b183db75c2ef20619cde2fd5ae54c045
Dan Gohman
2021-02-16T20:03:27
Update to rand_core 0.6.2. See https://rustsec.org/advisories/RUSTSEC-2021-0023
diff --git a/Cargo.lock b/Cargo.lock index dcd4cfb46..0118c5e1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2116,7 +2116,7 @@ checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e" dependencies = [ "libc", "rand_chacha 0.3.0", - "rand_core 0.6.1", + "rand_core 0.6.2", "rand_hc 0.3.0", ] ...
1
5
5
b396f6dc6faddeca916bd3bfedf7e96fec4eed79
Dan Gohman
2021-02-16T19:55:27
Switch from `memmap` to `memmap2`. See https://rustsec.org/advisories/RUSTSEC-2020-0077
diff --git a/Cargo.lock b/Cargo.lock index 72b0b738f..dcd4cfb46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -572,7 +572,7 @@ dependencies = [ "filecheck", "gimli", "log", - "memmap", + "memmap2", "num_cpus", "target-lexicon", "thiserror", @@ -616,7 +616,7 @@ dependencies = [ "errno", "libc", "log", - ...
5
9
19
d598883f3a06e56fac8e7fd45581da4bf876e811
Dan Gohman
2021-02-16T19:49:58
Switch from `term` to `termcolor`. See https://rustsec.org/advisories/RUSTSEC-2018-0015
diff --git a/Cargo.lock b/Cargo.lock index 26572d444..72b0b738f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,12 +117,6 @@ dependencies = [ "derive_arbitrary", ] -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f...
3
28
112
09b976e1d53a05150c7b8acd36a82b34cec787b3
Alex Crichton
2021-02-11T18:42:45
Fix a number of warnings on nightly Rust (#2652) This fixes some issues that are cropping up where some syntax will get phased out in 2021
diff --git a/cranelift/codegen/meta/src/cdsl/ast.rs b/cranelift/codegen/meta/src/cdsl/ast.rs index 82cdbad76..6bfd1721a 100644 --- a/cranelift/codegen/meta/src/cdsl/ast.rs +++ b/cranelift/codegen/meta/src/cdsl/ast.rs @@ -296,7 +296,8 @@ impl Var { pub fn set_def(&mut self, position: PatternPosition, def: DefIndex)...
9
37
37
bc958642020b4decc85c471ea13975d0385e6092
Pat Hickey
2021-02-08T19:28:58
wasi-tests: add path_exists test this *should* reproduce the report at https://github.com/bytecodealliance/wasmtime/issues/2642 but it does not, so the problem has something to do with invoking via wasmtime cli?
diff --git a/crates/test-programs/wasi-tests/src/bin/path_exists.rs b/crates/test-programs/wasi-tests/src/bin/path_exists.rs new file mode 100644 index 000000000..8fa763161 --- /dev/null +++ b/crates/test-programs/wasi-tests/src/bin/path_exists.rs @@ -0,0 +1,79 @@ +use std::{env, process}; +use wasi_tests::{create_file...
1
79
0
c9d8ed03c9268b68e8451c1e47079596661abdde
Pat Hickey
2021-02-09T23:43:52
wasi-common: fix fdstat of dirfd the fdstat of a dirfd needs to include both the file and dir rights in the inheriting field. The wasi-libc path_open bases the base rights of child directories off the inheriting rights of the parent, so if we only put file rights in there, opening a child directory will not have any ...
diff --git a/crates/wasi-common/src/snapshots/preview_1.rs b/crates/wasi-common/src/snapshots/preview_1.rs index 9285038f1..e6db3fb76 100644 --- a/crates/wasi-common/src/snapshots/preview_1.rs +++ b/crates/wasi-common/src/snapshots/preview_1.rs @@ -1112,7 +1112,7 @@ impl From<&FdStat> for types::Fdstat { impl From<&Di...
1
1
1
e4ce04bab42a325bbffe7d83e759a2b99e185c8d
Pat Hickey
2021-02-06T01:50:20
WasiCtx: default to empty/sink stdio files rather than throw the test harness now uses the empty stdin file. I tested manually that the sink stdout & stderr files work, but theres no test in tree at the moment
diff --git a/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs b/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs index 089d393ea..5900e6a19 100644 --- a/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs +++ b/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs @@ -1,7 +1,...
2
15
25
21a1307c105a516f06934e18523b315843acf6e7
Pat Hickey
2021-02-05T01:00:39
latest cap-std 0.13.3 fixes windows bug
diff --git a/Cargo.lock b/Cargo.lock index 46178cd30..26572d444 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,21 +272,22 @@ checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b" [[package]] name = "cap-fs-ext" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/...
1
7
6
c535b94c73b35a5b004512f0ee94c47b5f6b52d3
Pat Hickey
2021-02-04T23:38:02
theres the bug
diff --git a/crates/wasi-common/build.rs b/crates/wasi-common/build.rs index 2092df38e..236c48d19 100644 --- a/crates/wasi-common/build.rs +++ b/crates/wasi-common/build.rs @@ -2,7 +2,7 @@ // use the same witx files if they want. fn main() { let cwd = std::env::current_dir().unwrap(); - let wasi = cwd.join("....
1
1
1
4681e18ee0e17b9b1bc0dd572b14b4bc936c2a4a
Pat Hickey
2021-02-04T22:58:44
will this fix it?
diff --git a/crates/wasi-common/Cargo.toml b/crates/wasi-common/Cargo.toml index 4a548cec5..426d71046 100644 --- a/crates/wasi-common/Cargo.toml +++ b/crates/wasi-common/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["webassembly", "wasm"] repository = "https://github.com/bytecodealliance/wasmtime" readme = "README.md" edit...
1
1
1
5ff9578b5ce442679b178208c6c126d0ecb92b2f
Pat Hickey
2021-02-04T18:37:45
wasi-common: WASI/phases is included in the package
diff --git a/crates/wasi-common/Cargo.toml b/crates/wasi-common/Cargo.toml index 65e4832d6..4a548cec5 100644 --- a/crates/wasi-common/Cargo.toml +++ b/crates/wasi-common/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["webassembly", "wasm"] repository = "https://github.com/bytecodealliance/wasmtime" readme = "README.md" edit...
1
1
1
35261453e9297716f8542c9a34bbdad5a000d8f9
Pat Hickey
2021-02-04T18:03:34
wasi-common 0.13.2
diff --git a/Cargo.lock b/Cargo.lock index 5fc378a60..46178cd30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,9 +272,9 @@ checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b" [[package]] name = "cap-fs-ext" -version = "0.13.0" +version = "0.13.2" source = "registry+https://github.com/ru...
1
10
10
602006ff9d1c8751eafb51c8a6fc1bde6ef06330
bjorn3
2021-02-04T10:46:20
Fix build_value_labels_ranges for newBE when there are no labels
diff --git a/cranelift/codegen/src/isa/aarch64/mod.rs b/cranelift/codegen/src/isa/aarch64/mod.rs index fa7aa4ea6..f36fbbd55 100644 --- a/cranelift/codegen/src/isa/aarch64/mod.rs +++ b/cranelift/codegen/src/isa/aarch64/mod.rs @@ -81,7 +81,7 @@ impl MachBackend for AArch64Backend { frame_size, d...
5
8
12
e2b67aa9a3b5e43e344c1035d917e754eac5c232
Pat Hickey
2021-02-04T02:03:40
simplify life for readdir implementors
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index ca58c4d45..255278790 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -1,7 +1,6 @@ use crate::file::{filetype_from, File}; use cap_fs_ext::{DirEntryExt,...
3
23
29
72a8f9235d1412be3ebc83cf9b13d0c6364373f0
Pat Hickey
2021-02-04T01:31:15
cap-primitives bump fixes windows bugs
diff --git a/Cargo.lock b/Cargo.lock index 87f2b5d3a..5fc378a60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -284,9 +284,9 @@ dependencies = [ [[package]] name = "cap-primitives" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75550da036d03babecf...
2
2
7
c8ca639b934fb2a612755a110c1526b29dd8deb1
Pat Hickey
2021-02-04T00:16:09
new cap-std apis fix some windows tests! fix for fd_readdir test on linux, and symlink_create / nofollow_errors
diff --git a/crates/test-programs/build.rs b/crates/test-programs/build.rs index 6de5c1172..ff0d30ae2 100644 --- a/crates/test-programs/build.rs +++ b/crates/test-programs/build.rs @@ -194,13 +194,9 @@ mod wasi_tests { [ // Panic: Metadata not associated with open file // https://gith...
2
3
7
e670c46862f5b6c41bb3d8371038e547a94af238
Pat Hickey
2021-02-04T00:07:05
system-interface 0.6
diff --git a/Cargo.lock b/Cargo.lock index 0c6a7a543..87f2b5d3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -270,48 +270,18 @@ version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b" -[[package]] -name = "cap-fs...
4
17
59
1a45096ee6258c45cefbeb16b79ed555bcfe2f45
Pat Hickey
2021-02-03T23:52:26
wasi-common, wasi-cap-std-sync, wasmtime-wasi should all be published now
diff --git a/crates/wasi-common/Cargo.toml b/crates/wasi-common/Cargo.toml index a3853b1ec..65e4832d6 100644 --- a/crates/wasi-common/Cargo.toml +++ b/crates/wasi-common/Cargo.toml @@ -11,7 +11,6 @@ readme = "README.md" edition = "2018" include = ["src/**/*", "LICENSE", "build.rs"] build = "build.rs" -publish = fals...
3
0
3
bc1992b9a81fcba1be7d5a12b6dae09c8ad6daaf
Pat Hickey
2021-02-03T23:46:03
cap-std 0.13
diff --git a/Cargo.lock b/Cargo.lock index 441aaba6a..0c6a7a543 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -276,8 +276,20 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0341ab6f42e202d53cac0823df52f1e3bc07f5f0407f03439a74de4902442c24" dependencies = [ - "cap-primi...
6
69
26
31145060b278dabc85215892e2d9e5b20c54aabe
Pat Hickey
2021-02-03T23:04:02
remove virtfs - it is not suitable for use
diff --git a/Cargo.lock b/Cargo.lock index e5616ca01..441aaba6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2806,7 +2806,6 @@ dependencies = [ "tempfile", "wasi-cap-std-sync", "wasi-common", - "wasi-virtfs", "wasmtime", "wasmtime-wasi", "wat", @@ -3127,16 +3126,6 @@ dependencies = [ "zeroize", ] -[[pa...
8
0
612
7a35763d629fa10f27b5428005c3873f4c2fa8bc
Pat Hickey
2021-02-03T22:54:42
collapse two test flags into dangling_filesystem
diff --git a/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs b/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs index 63984b423..089d393ea 100644 --- a/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs +++ b/crates/test-programs/tests/wasm_tests/runtime/cap_std_sync.rs @@ -32,10 +...
7
24
31
a9639e52a4c5a9d9c5e3173466c848044069b6b0
Pat Hickey
2021-02-03T22:26:52
publish script: tell me more about the failure please
diff --git a/scripts/publish.rs b/scripts/publish.rs index eaf0e02ed..f36daea8d 100644 --- a/scripts/publish.rs +++ b/scripts/publish.rs @@ -323,7 +323,7 @@ fn verify(crates: &[Crate]) { cmd.arg("--no-verify"); } let status = cmd.status().unwrap(); - assert!(status.success()); + ...
1
1
1
d62b0a1f97d53ee4754b7507ec36b786d703cffb
Pat Hickey
2021-02-03T19:09:05
table keys can wrap around
diff --git a/crates/wasi-common/src/table.rs b/crates/wasi-common/src/table.rs index 30fd50320..bcbb641ca 100644 --- a/crates/wasi-common/src/table.rs +++ b/crates/wasi-common/src/table.rs @@ -31,14 +31,14 @@ impl Table { /// Insert a resource at the next available index. pub fn push(&mut self, a: Box<dyn A...
1
6
6
b12d41bfe9186392d5b8f1316c208e41bc06d733
Kasey Carrothers
2021-01-28T05:57:43
Expand x64 OperandSize to support 8 and 16-bit operands. This is in preparation for refactoring all x64::Inst arms to use OperandSize. Current uses of OperandSize fall into two categories: 1. XMM operations which require 32/64 bit operands 2. Immediates which only care about 64-bit or not. Adds assertions to exi...
diff --git a/cranelift/codegen/src/isa/x64/inst/args.rs b/cranelift/codegen/src/isa/x64/inst/args.rs index 00f581218..51732ff0d 100644 --- a/cranelift/codegen/src/isa/x64/inst/args.rs +++ b/cranelift/codegen/src/isa/x64/inst/args.rs @@ -1323,6 +1323,8 @@ impl RoundImm { /// An operand's size in bits. #[derive(Clone, ...
3
50
48
76d615049df683c24e295f6cc2c5526778bef3a1
bjorn3
2021-02-03T14:59:00
Make the stackslot offsets available for debuginfo
diff --git a/cranelift/codegen/src/isa/aarch64/mod.rs b/cranelift/codegen/src/isa/aarch64/mod.rs index af13cb70c..fa7aa4ea6 100644 --- a/cranelift/codegen/src/isa/aarch64/mod.rs +++ b/cranelift/codegen/src/isa/aarch64/mod.rs @@ -66,6 +66,7 @@ impl MachBackend for AArch64Backend { let buffer = vcode.emit(); ...
7
31
14
b29a3bfbb2b81ca3a82902a7045cbe339651bdbc
Pat Hickey
2021-02-03T01:08:58
fix warnings
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index 1b3d68e78..e4eefdf97 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -259,9 +259,6 @@ fn convert_systimespec(t: Option<wasi_common::SystemTimeSpec>) -> O...
1
5
3
857ef411b534ddd9eee67c5692bc62b4e22c5197
Pat Hickey
2021-02-03T00:16:22
upstream fixes are pending for symlink_create & nofollow_errors on windows
diff --git a/crates/test-programs/build.rs b/crates/test-programs/build.rs index 6e2c67ad3..3b9273334 100644 --- a/crates/test-programs/build.rs +++ b/crates/test-programs/build.rs @@ -199,8 +199,9 @@ mod wasi_tests { "fd_flags_set", "path_filestat", "symlink_filestat", - ...
2
4
2
cd02e5a942d20e9505199bf94b2a2af45266c92a
Pat Hickey
2021-02-02T23:30:02
path_rename: make more concessions for windows. this shit sucks but oh well
diff --git a/crates/test-programs/wasi-tests/src/bin/path_rename.rs b/crates/test-programs/wasi-tests/src/bin/path_rename.rs index 79d4615a9..abd3a6c95 100644 --- a/crates/test-programs/wasi-tests/src/bin/path_rename.rs +++ b/crates/test-programs/wasi-tests/src/bin/path_rename.rs @@ -30,6 +30,10 @@ unsafe fn test_path_...
1
32
10
186360fab2e5499c28622936ff6d61f9363e1ef8
Pat Hickey
2021-02-02T23:29:50
delete temporary tests
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index 87b9f6e4c..1b3d68e78 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -334,55 +334,4 @@ mod test { FileType::RegularFile ); } -...
1
0
51
a06b23a30809192592650f775ad82a82c693958c
Pat Hickey
2021-02-02T21:40:35
even simpler test case
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index d5910be82..87b9f6e4c 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -336,18 +336,24 @@ mod test { } #[test] - fn rename_dir_to_existing_f...
1
17
24
330902f44ee00636a8373556afa8b3469fdf4c91
Pat Hickey
2021-02-02T21:29:56
add test for incredibly cursed windows rename behavior
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index 9c895505d..d5910be82 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -275,8 +275,21 @@ mod test { .expect("open the same directory via WasiD...
1
68
9
47a89d3cc267fbc7ab44f59298edda3068a00a7c
Pat Hickey
2021-02-02T18:44:21
cargo update. wanted the latest `cap-primitives`
diff --git a/Cargo.lock b/Cargo.lock index fbb40312f..e5616ca01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,9 +260,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.5.0" +version = "3.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f07aa6688c702439a1be0307b6a9...
1
10
10
dec0038ba039c1568d8912353a2a6ad3e2003db3
Pat Hickey
2021-02-02T03:40:24
add a readdir unit test to wasi-cap-std-sync
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index bac4c04e2..9c895505d 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -259,6 +259,9 @@ fn convert_systimespec(t: Option<wasi_common::SystemTimeSpec>) -> O...
3
65
2
80fce7c1c82649ec8700011753f60d07c58de242
Pat Hickey
2021-02-02T03:22:10
unlink behavior on macos...
diff --git a/crates/test-programs/wasi-tests/src/bin/unlink_file_trailing_slashes.rs b/crates/test-programs/wasi-tests/src/bin/unlink_file_trailing_slashes.rs index 2ca485dc1..519ef230f 100644 --- a/crates/test-programs/wasi-tests/src/bin/unlink_file_trailing_slashes.rs +++ b/crates/test-programs/wasi-tests/src/bin/unl...
1
1
0
ca657186f2e01f336d6b4449d355bc792723c108
Pat Hickey
2021-02-02T03:12:20
fix wasmtime doctest
diff --git a/Cargo.lock b/Cargo.lock index 9c6f00825..fbb40312f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3216,6 +3216,7 @@ dependencies = [ "smallvec", "target-lexicon", "tempfile", + "wasi-cap-std-sync", "wasmparser", "wasmtime-cache", "wasmtime-environ", diff --git a/crates/wasmtime/Cargo.toml b/crate...
3
5
2
e3850752b24b5f1d39f5eef68db3170dd4b0e6ce
Pat Hickey
2021-02-02T02:37:42
this windows test should be fixed...
diff --git a/crates/test-programs/build.rs b/crates/test-programs/build.rs index 99d58354c..6e2c67ad3 100644 --- a/crates/test-programs/build.rs +++ b/crates/test-programs/build.rs @@ -199,8 +199,6 @@ mod wasi_tests { "fd_flags_set", "path_filestat", "symlink_filestat", - ...
1
0
2
f48b45784e0cb4de7cf21731140b03c0e2790307
Pat Hickey
2021-02-02T02:36:49
remove dead comment
diff --git a/crates/wasi-common/cap-std-sync/src/dir.rs b/crates/wasi-common/cap-std-sync/src/dir.rs index 2410d1aae..bac4c04e2 100644 --- a/crates/wasi-common/cap-std-sync/src/dir.rs +++ b/crates/wasi-common/cap-std-sync/src/dir.rs @@ -113,8 +113,6 @@ impl WasiDir for Dir { Ok((FileType::Directory, di...
1
0
2