Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
impl wasm_name_t {
14
pub(crate) fn from_name(name: String) -> wasm_name_t {
15
name.into_bytes().into()
16
}
17
}
18
19
macro_rules! declare_vecs {
Callers
nothing calls this directly
Calls
1
into_bytes
Method · 0.80
Tested by
no test coverage detected