Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/component-docs
/ add
Method
add
component-model/examples/tutorial/adder/src/lib.rs:26–28 ·
view source on GitHub ↗
(x: u32, y: u32)
Source
from the content-addressed store, hash-verified
24
25
impl bindings::exports::docs::adder::add::Guest for AdderComponent {
26
fn add(x: u32, y: u32) -> u32 {
27
x + y
28
}
29
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected