test: add tests for main() argument handling#31426
Conversation
Trott
left a comment
There was a problem hiding this comment.
LGTM but rubber-stamp on the .wasm file. Would be cool if we could build those rather than check in the .wasm file but I guess that's hard/impossible to do cross-platform and without requiring a mess of new tools or something?
I'd prefer not needing to check in .wasm files as well. I think the most straightforward way to accomplish that would be for the build machines to have the wasi-sdk installed. I'm not 100% sure if the libc works on every platform that we support (I think it does), and I don't want to volunteer the Build WG for work. |
This test provides missing coverage for __wasi_args_get() and __wasi_args_sizes_get(), which translate to argc and argv in WASI applications. PR-URL: nodejs#31426 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This test provides missing coverage for __wasi_args_get() and __wasi_args_sizes_get(), which translate to argc and argv in WASI applications. PR-URL: #31426 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This test provides missing coverage for __wasi_args_get() and __wasi_args_sizes_get(), which translate to argc and argv in WASI applications. PR-URL: #31426 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This test provides missing coverage for __wasi_args_get() and __wasi_args_sizes_get(), which translate to argc and argv in WASI applications. PR-URL: #31426 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This test provides missing coverage for
__wasi_args_get()and__wasi_args_sizes_get(), which translate toargcandargvin WASI applications.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes