Skip to content

Instantly share code, notes, and snippets.

(component
(type $f (future))
(core func $new (canon future.new $f))
(core module $libc (memory (export "mem") 1))
(core instance $libc (instantiate $libc))
(core func $read (canon future.read $f async (memory $libc "mem")))
(core func $cancel (canon future.cancel-write $f))
(core func $close-write (canon future.close-writable $f))
(core module $m
(import "" "new" (func $new (result i64)))
(component
(type $f (future))
(component $c
(type $f (future))
(core module $libc (memory (export "mem") 1))
(core instance $libc (instantiate $libc))
(core func $read (canon future.read $f async (memory $libc "mem")))
(core func $close-read (canon future.close-readable $f))
(component
(type $f (future))
(component $c
(type $f (future))
(core module $libc (memory (export "mem") 1))
(core instance $libc (instantiate $libc))
(core func $read (canon future.read $f async (memory $libc "mem")))
(core func $close-read (canon future.close-readable $f))
(component
(type $f (future))
(core func $new (canon future.new $f))
(core module $libc (memory (export "mem") 1))
(core instance $libc (instantiate $libc))
(core func $write (canon future.write $f async (memory $libc "mem")))
(core func $cancel (canon future.cancel-write $f))
(core func $close-read (canon future.close-readable $f))
(core module $m
(import "" "new" (func $new (result i64)))
#include <stdint.h>
#define P3_TASK_VERSION1 1
typedef struct p3_task_v1 {
// For now it's `P3_TASK_VERSION1`, and this indicates what fields are present
// in this structure. Accessing a vX field must check that `version` here is
// `>= X`.
int version;
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index f4088c27a6..ea0105fd77 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -4709,79 +4709,79 @@ end = "2024-07-15"
[[trusted.windows]]
criteria = "safe-to-deploy"
-user-id = 64539 # Kenny Kerr (kennykerr)
+user-id = 64539
Vetting Failed!
85 unvetted dependencies:
ab_glyph:0.2.29 missing ["safe-to-deploy"]
ab_glyph_rasterizer:0.1.8 missing ["safe-to-deploy"]
arrayref:0.3.9 missing ["safe-to-deploy"]
as-raw-xcb-connection:1.0.1 missing ["safe-to-deploy"]
async-broadcast:0.7.2 missing ["safe-to-deploy"]
bytemuck:1.21.0 missing ["safe-to-deploy"]
bytemuck_derive:1.8.1 missing ["safe-to-deploy"]
diff --git a/Cargo.toml b/Cargo.toml
index 24752f0..d63708f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,20 +41,20 @@ log = "0.4.22"
semver = "1.0.25"
js-component-bindgen = { path = "./crates/js-component-bindgen" }
structopt = "0.3.26"
-wasm-encoder = "0.221.2"
-wasm-metadata = "0.221.2"
[~/code/wasmtime[pulley-less-instruction-loads]] $ /opt/intel/oneapi/vtune/latest/bin64/vtune -collect uarch-exploration ./target/x86_64-unknown-linux-gnu/release/wasmtime run -C cache=n --target pulley64 --invoke run --preload env=time.wasm ../wasmi-benchmarks/benches/res/wasm/coremark-minimal.wasm
vtune: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
vtune: Collection started. To stop the collection, either press CTRL-C or enter from another console window: vtune -r /home/alex/code/wasmtime/r001ue -command stop.
warning: using `--invoke` with a function that returns values is experimental and may break in the future
1557.9965
vtune: Collection stopped.
vtune: Using result path `/home/alex/code/wasmtime/r001ue'
vtune: Executing actions 19 % Resolving information for `libc.so.6'
vtune: Warning: Cannot locate file `vmlinux'.
vtune: Executing actions 20 % Resolving information for `wasmtime'
use wasmtime::{Module, Store};
fn main() {
let _ = env_logger::try_init();
for i in 0.. {
if i % 1000 == 0 {
println!("{i}");
}