-
Notifications
You must be signed in to change notification settings - Fork 6
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
Extism .NET PDK Beta #4
Conversation
I'm curious what the error from the Rust runtime is? I will try to get an environment to run this setup on my machine! |
…take UnmanagedCallersOnly.EntryPoint into account
as we discussed before, the issue was this: https://github.com/dotnet/runtime/blob/4101144c8dde177addfb93ac46425fd1a8604f7a/src/mono/mono/metadata/object.c#L4175 This is now fixed in: 804c738 Side note: it seems like wasmtime passes its own command line args along to the module. e.g: |
…-pdk into feat/pdk-functions
…-pdk into feat/pdk-functions
DllImport
instead of[MethodImpl(MethodImplOptions.InternalCall)]
and we are also targeting .NET 8 now.For some reason, the Rust runtime can't run .NET plugins after v0.1. I am not sure what has changed between 0.1 and 0.2. I am using the Go SDK to run the samples. This was because Mono expects at least one command line argument. I have wrappedmono_runtime_run_main
to ensure that we pass at least one argument