diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-15 00:29:26 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-23 02:20:06 +0300 |
commit | a12a34e1db61cab6863f08e974750ed4c315379c (patch) | |
tree | c99f7b912e395001e37d825164553af1d0dde7ef /tools/system_libs.py | |
parent | ba02f957f79391d205348695c932e4f99e5adc32 (diff) |
Migrate to using musl libc sscanf to improve performance. Keep the existing JS vfscanf for Emscripten FS compatibility, and add the musl-specific version to be used when called from sscanf and vsscanf.
Diffstat (limited to 'tools/system_libs.py')
-rw-r--r-- | tools/system_libs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/system_libs.py b/tools/system_libs.py index bc81a351..7e2b1f02 100644 --- a/tools/system_libs.py +++ b/tools/system_libs.py @@ -249,6 +249,7 @@ def calculate(temp_files, in_temp, stdout, stderr): 'tre-mem.c', ]], ['stdio', [ + '__string_read.c', 'fwprintf.c', 'swprintf.c', 'vfwprintf.c', @@ -257,6 +258,9 @@ def calculate(temp_files, in_temp, stdout, stderr): 'wprintf.c', 'fputwc.c', 'fputws.c', + 'sscanf.c', + 'vfscanf.c', + 'vsscanf.c', ]], ['stdlib', [ 'atoll.c', |