Call __main_void if exported by a plugin.#500
Call __main_void if exported by a plugin.#500PiotrSikora wants to merge 1 commit intoproxy-wasm:mainfrom
Conversation
This is how Rust exports main() function since Rust v1.67. Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
leonm1
left a comment
There was a problem hiding this comment.
Should we include a test for this?
Sure, I'll add it. But we don't really have tests for any of the start functions here... and we have exactly zero integration tests with real SDKs in this repo, only plain Wasm modules... Maybe you have some cycles to add them? |
ac58a7e to
bffe884
Compare
|
Actually, this turns out to be tricky. We need to use But my vote would be to skip this test altogether, since we don't test the other entrypoints anyway. |
|
Reverted the code back to originally approved testless version. |
This is how Rust exports main() function since Rust v1.67.