Closed Arshia001 closed 1 year ago
That seems rather complex to avoid linking with libclang_rt.builtins-wasm32.a
that has the missing symbols of #14. It looks fine, but signals are always tricky to play with.
Most internal funciton should be declared static
to avoid exporting them.
@ptitSeb Aside from the missing symbols, this change has the added benefit that it doesn't bloat all wasix binaries with the printf code (which is non-trivial in size). The changes you requested are in, please take another look.
Looks good, merging.
This is a workaround for #13.
default_handlers
is reworked so that unlesssigaction
is called, nofprintf
calls will be compiled into the final binary, and the rustlibc
callssigaction_external_default
, avoiding that.