mirror of
https://github.com/fluencelabs/musl
synced 2025-06-18 17:31:38 +00:00
[WebAsembly] Build thread code (#22)
This commit is contained in:
@ -1 +1,3 @@
|
||||
#define LDSO_ARCH "wasm32"
|
||||
|
||||
#define CRTJMP(pc,sp) pc()
|
||||
|
@ -27,8 +27,5 @@ __builtin_apply_args
|
||||
__builtin_malloc
|
||||
|
||||
# Part of musl we still don't compile for wasm
|
||||
__lock
|
||||
__unlock
|
||||
__set_thread_area
|
||||
setjmp
|
||||
longjmp
|
||||
|
2
libc.py
2
libc.py
@ -27,7 +27,7 @@ import tempfile
|
||||
|
||||
verbose = False
|
||||
|
||||
DIR_BLACKLIST = ['misc', 'thread']
|
||||
DIR_BLACKLIST = ['misc']
|
||||
BLACKLIST = [
|
||||
'puts.c', # Prefer the JS version for now
|
||||
'abort.c', # Perfer the JS version for now
|
||||
|
Reference in New Issue
Block a user