MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / from_name

Method from_name

crates/c-api/src/vec.rs:14–16  ·  view source on GitHub ↗
(name: String)

Source from the content-addressed store, hash-verified

12
13impl wasm_name_t {
14 pub(crate) fn from_name(name: String) -> wasm_name_t {
15 name.into_bytes().into()
16 }
17}
18
19macro_rules! declare_vecs {

Callers

nothing calls this directly

Calls 1

into_bytesMethod · 0.80

Tested by

no test coverage detected