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