MCPcopy Create free account
hub / github.com/bytecodealliance/wasm-component-ld / hello_world

Function hello_world

tests/all.rs:104–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103#[test]
104fn hello_world() {
105 let output = compile(
106 &[],
107 r#"
108fn main() {
109 println!("hello!");
110}
111"#,
112 );
113 assert_component(&output);
114}
115
116#[test]
117fn cdylib_arbitrary_export() {

Callers

nothing calls this directly

Calls 2

compileFunction · 0.85
assert_componentFunction · 0.85

Tested by

no test coverage detected