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

Add example of using externref in assembly code #15913

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 7, 2022

See #15878

@sbc100 sbc100 requested a review from kripken January 7, 2022 14:36
tests/test_core.py Outdated Show resolved Hide resolved
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that this works so easily!

I wonder if maybe we should add something pointing to this test in the docs? Or maybe it's too early.

@sbc100
Copy link
Collaborator Author

sbc100 commented Jan 7, 2022

Nice that this works so easily!

I wonder if maybe we should add something pointing to this test in the docs? Or maybe it's too early.

Perhaps as a followup.

I'm a little worried that we might still want to make changes to the .s format, so we might not want to be advertising it too loudly... although its been stable for a long time now.

@Thaina
Copy link

Thaina commented Mar 18, 2023

As it seem LLVM introduce support for externref in c,

https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGen/WebAssembly/wasm-externref.c

Can we have example to use externref in c too?

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

Successfully merging this pull request may close these issues.

3 participants