import native symbols in lib.h

lib.h gets included into the host module and the wasm module. For the
host module the attributes will be ignored.
This commit is contained in:
2026-04-24 10:45:55 +02:00
parent 348aac20ae
commit 5aab319424
4 changed files with 18 additions and 15 deletions

View File

@ -15,7 +15,6 @@ WASI_CFLAGS := "\
-Wl,--initial-memory=65536 \
-Wl,--export=__heap_base \
-Wl,--export=__data_end \
-Wl,--allow-undefined \
"
CROSS_CFLAGS_NOWASM := "\
-O0 \