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

c#: use a native c file for exports that only call out to native calls #1165

Open
jsturtevant opened this issue Feb 13, 2025 · 0 comments
Open
Labels
gen-c# Related to the C# code generator

Comments

@jsturtevant
Copy link
Collaborator

          > > Could you suggest another approach?

WASI exports require WASI SDK and c-lang compilation anyway.
We could also generate C code instead, just for this particular export type.

And then <NativeFileReference Include="wasi_exports.c" /> in csproj

Originally posted by @pavelsavara in #1145 (comment)

@jsturtevant jsturtevant added the gen-c# Related to the C# code generator label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gen-c# Related to the C# code generator
Projects
None yet
Development

No branches or pull requests

1 participant