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

Function cdylib_arbitrary_export

tests/all.rs:117–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115
116#[test]
117fn cdylib_arbitrary_export() {
118 let output = compile(
119 &["--crate-type", "cdylib"],
120 r#"
121#[no_mangle]
122pub extern "C" fn foo() {
123 println!("x");
124}
125 "#,
126 );
127 assert_component(&output);
128}
129
130#[test]
131fn can_access_badfd() {

Callers

nothing calls this directly

Calls 2

compileFunction · 0.85
assert_componentFunction · 0.85

Tested by

no test coverage detected