Skip to content

Instantly share code, notes, and snippets.

View alexcrichton's full-sized avatar

Alex Crichton alexcrichton

  • 04:07 (UTC -05:00)
View GitHub Profile
(module
(func (export "f")
(param
i32 i32 i32 i32
i32 i32 i32 i32
i32 i32 i32 i32
i32 i32 i32 i32
i32
)
(result
commit b1bf88344905ac4813ec4a7bce58e475678b175f
Author: Alex Crichton <[email protected]>
Date: Fri Aug 22 17:15:17 2025 -0700
wip
diff --git a/examples/min-platform/embedding/src/lib.rs b/examples/min-platform/embedding/src/lib.rs
index 460ea5d2c8..9448c3785e 100644
--- a/examples/min-platform/embedding/src/lib.rs
+++ b/examples/min-platform/embedding/src/lib.rs
(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"