Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@czqasngit
Copy link

Write wasm using rust with wasm-pack and wasm-bindgen tools. But wasm-bindgen will rename export function name using shorthash.

for example:

#[wasm_bindgen]
extern "C" {
    fn alert();
}

this code will rename like this in wasm: (func $import0 (import "wbg" "__wbg_alert_2de8bdec59d2582f"))

I don't know exactly all the export function names.
Pull this request to support find import name with custom function callback.

@tommie
Copy link
Contributor

tommie commented Aug 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.