Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasm-component-ld
/ empty_main
Function
empty_main
tests/all.rs:98–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
97
#[test]
98
fn empty_main() {
99
let output = compile(&[],
"fn main() {}"
);
100
assert_component(&output);
101
}
102
103
#[test]
104
fn hello_world() {
Callers
nothing calls this directly
Calls
2
compile
Function · 0.85
assert_component
Function · 0.85
Tested by
no test coverage detected