Add a wasmtime::component::bindgen! macro (#5317)
* Import Wasmtime support from the `wit-bindgen` repo This commit imports the `wit-bindgen-gen-host-wasmtime-rust` crate from the `wit-bindgen` repository into the upstream Wasmtime repository. I've chosen to not import the full history here since the crate is relatively small and doesn't have a ton of complexity. While the history of the crate is quite long the current iteration of the crate's history is relatively short so there's not a ton of import there anyway. The thinking is that this can now continue to evolve in-tree. * Refactor `wasmtime-component-macro` a bit Make room for a `wit_bindgen` macro to slot in. * Add initial support for a `bindgen` macro * Add tests for `wasmtime::component::bindgen!` * Improve error forgetting `async` feature * Add end-to-end tests for bindgen * Add an audit of `unicase` * Add a license to the test-helpers crate * Add vet entry for `pulldown-cmark` * Update publish script with new crate * Try to fix publish script * Update audits * Update lock file
This commit is contained in:
@@ -392,6 +392,16 @@ a few `unsafe` blocks related to utf-8 validation which are locally verifiable
|
||||
as correct and otherwise this crate is good to go.
|
||||
"""
|
||||
|
||||
[[audits.pulldown-cmark]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.8.0"
|
||||
notes = """
|
||||
This crate has `unsafe` blocks and they're all related to SIMD-acceleration and
|
||||
are otherwise not doing other `unsafe` operations. Additionally the crate does
|
||||
not do anything other than markdown rendering as is expected.
|
||||
"""
|
||||
|
||||
[[audits.regalloc2]]
|
||||
who = "Jamey Sharp <jsharp@fastly.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
@@ -484,6 +494,15 @@ intended to multiplex across the internal representation of a tinyvec,
|
||||
presumably. This trivially doesn't contain anything bad.
|
||||
"""
|
||||
|
||||
[[audits.unicase]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "2.6.0"
|
||||
notes = """
|
||||
This crate contains no `unsafe` code and no unnecessary use of the standard
|
||||
library.
|
||||
"""
|
||||
|
||||
[[audits.unicode-bidi]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
@@ -967,3 +986,9 @@ criteria = "safe-to-deploy"
|
||||
version = "0.34.0"
|
||||
notes = "I am the author of this crate."
|
||||
|
||||
[[audits.wit-parser]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.3.0"
|
||||
notes = "The Bytecode Alliance is the author of this crate."
|
||||
|
||||
|
||||
@@ -338,10 +338,6 @@ criteria = "safe-to-deploy"
|
||||
version = "0.10.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.half]]
|
||||
version = "1.8.2"
|
||||
criteria = "safe-to-run"
|
||||
|
||||
[[exemptions.hermit-abi]]
|
||||
version = "0.1.19"
|
||||
criteria = "safe-to-deploy"
|
||||
@@ -738,10 +734,6 @@ criteria = "safe-to-deploy"
|
||||
version = "1.0.137"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.serde_cbor]]
|
||||
version = "0.11.2"
|
||||
criteria = "safe-to-run"
|
||||
|
||||
[[exemptions.serde_derive]]
|
||||
version = "1.0.137"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
@@ -169,6 +169,16 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "0.2.6 -> 0.2.7"
|
||||
|
||||
[[audits.mozilla.audits.half]]
|
||||
who = "John M. Schanck <jschanck@mozilla.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "1.8.2"
|
||||
notes = """
|
||||
This crate contains unsafe code for bitwise casts to/from binary16 floating-point
|
||||
format. I've reviewed these and found no issues. There are no uses of ambient
|
||||
capabilities.
|
||||
"""
|
||||
|
||||
[[audits.mozilla.audits.hashbrown]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
@@ -288,6 +298,16 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "1.0.143 -> 1.0.144"
|
||||
|
||||
[[audits.mozilla.audits.serde_cbor]]
|
||||
who = "R. Martinho Fernandes <bugs@rmf.io>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.11.1"
|
||||
|
||||
[[audits.mozilla.audits.serde_cbor]]
|
||||
who = "John M. Schanck <jschanck@mozilla.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "0.11.1 -> 0.11.2"
|
||||
|
||||
[[audits.mozilla.audits.serde_derive]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
Reference in New Issue
Block a user