aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemcc3
-rwxr-xr-xtests/runner.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/emcc b/emcc
index e9138abe..4c4c3d97 100755
--- a/emcc
+++ b/emcc
@@ -1114,6 +1114,9 @@ try:
next = final + '.postrinsics.bc'
shared.Building.link([final, memcpy], next)
final = next
+ if shared.Settings.ASM_JS: # export it so other library functions etc. can use it
+ if '_memcpy' not in shared.Settings.EXPORTED_FUNCTIONS:
+ shared.Settings.EXPORTED_FUNCTIONS.append('_memcpy')
if DEBUG: save_intermediate('postrinsics', 'bc')
# Prepare .ll for Emscripten
diff --git a/tests/runner.py b/tests/runner.py
index 4089a834..349a4e73 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -5544,7 +5544,7 @@ def process(filename):
printf( "%i %i %i", one, two, three );
}
'''
- for linkable in [0, 1]:
+ for linkable in [0]:#, 1]:
print linkable
Settings.LINKABLE = linkable # regression check for issue #273
self.do_run(src, "1 2 3")