File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ addToLibrary({
8585#if PTHREADS
8686 '$exitOnMainThread' ,
8787#endif
88- #if PTHREADS_DEBUG
88+ #if PTHREADS_DEBUG || ASSERTIONS
8989 '$runtimeKeepaliveCounter' ,
9090#endif
9191 ] ,
@@ -2016,6 +2016,9 @@ addToLibrary({
20162016 throw 'unwind' ;
20172017 } ,
20182018
2019+ #if ! MINIMAL_RUNTIME
2020+ _emscripten_runtime_keepalive_clear__deps : [ '$runtimeKeepaliveCounter' ] ,
2021+ #endif
20192022 _emscripten_runtime_keepalive_clear : ( ) => {
20202023#if isSymbolNeeded ( '$noExitRuntime' )
20212024 noExitRuntime = false ;
Original file line number Diff line number Diff line change @@ -15169,3 +15169,6 @@ def test_fp16(self, opts):
1516915169
1517015170 def test_embool(self):
1517115171 self.do_other_test('test_embool.c')
15172+
15173+ def test_strict_closure(self):
15174+ self.emcc(test_file('hello_world.c'), ['-sSTRICT', '--closure=1'])
You can’t perform that action at this time.
0 commit comments