MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / has_wasm_export

Function has_wasm_export

xtask/src/main.rs:7982–7986  ·  view source on GitHub ↗
(link: &WasmLinkMetadataOut, name: &str)

Source from the content-addressed store, hash-verified

7980}
7981
7982fn has_wasm_export(link: &WasmLinkMetadataOut, name: &str) -> bool {
7983 link.exports
7984 .iter()
7985 .any(|export| export.name == name || export.name == format!("_{name}"))
7986}
7987
7988fn build_asset_spine(
7989 _manifest: &SourcesManifest,

Callers 1

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected