Description
Currently mono requires a main function when building for wasi. This shouldn't be required.
Related: #96419
@AaronRobinsonMSFT @lewing @yowl @jsturtevant
Reproduction Steps
Try to build example with main removed.
Example: https://github.com/silesmo/wasm-unmanaged-callers-bug/blob/main/mono-example/MonoEntrypoint.cs
Expected behavior
No main function should be required for a library.
Actual behavior
Main function is required.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
Currently mono requires a main function when building for wasi. This shouldn't be required.
Related: #96419
@AaronRobinsonMSFT @lewing @yowl @jsturtevant
Reproduction Steps
Try to build example with
mainremoved.Example: https://github.com/silesmo/wasm-unmanaged-callers-bug/blob/main/mono-example/MonoEntrypoint.cs
Expected behavior
No main function should be required for a library.
Actual behavior
Main function is required.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response