Closed wangshuli0315 closed 7 months ago
Are you sure these functions aren't used by application?
Yes, the application I tested was written with an empty main method.
This does not mean anything. TeaVM runtime uses it internally. Anyway, I don't see a reason why it's a problem
The generated wasm module I compile needs to run on resource-constrained devices, so I need to make sure the generated wasm file is as small as possible. Is there any way to do this?
The generates Wasm file is as small as possible in this context. You can't remove anything else.
As shown above, these import methods are not used in java applications and should be generated by Teavm by default. How can I configure not to generate these import methods?