mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Remove extern "C" functions from wasm module
We don't need these functions and their export. They account for ~20kb in the optimized .wasm - plus JS glue code.
This commit is contained in:
parent
3d7eb6ac70
commit
f087cc18bc
16 changed files with 18 additions and 1 deletions
|
@ -316,6 +316,7 @@ fn simple_test() {
|
|||
);
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub(crate) mod ffi {
|
||||
use super::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue