Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export user function #10

Open
g-rodigy opened this issue Sep 26, 2024 · 0 comments
Open

Export user function #10

g-rodigy opened this issue Sep 26, 2024 · 0 comments

Comments

@g-rodigy
Copy link

Compiled python code not present in wasm export. Is this how it should be or can the behavior be changed? For example simple code like.

def mysum(a, b):
    return a + b

In result wasm file this function name will be like $impl___main__$$$function__1_mysum and will not exported.

wasm code function definition

(func $impl___main__$$$function__1_mysum (;8524;) (param $var0 i32) (param $var1 i32) (param $var2 i32) (result i32)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant