[WebAsembly] Build thread code (#22)

This commit is contained in:
Sam Clegg
2017-11-15 15:58:02 -08:00
committed by GitHub
parent c185c68dd0
commit 9f20a8a3c2
4 changed files with 3 additions and 4 deletions

View File

@ -1 +1,3 @@
#define LDSO_ARCH "wasm32" #define LDSO_ARCH "wasm32"
#define CRTJMP(pc,sp) pc()

View File

@ -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

View File

@ -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