Skip to content

Commit 375b354

Browse files
committed
Temporarily disable test_fetch_polyfill_shared_lib under memory64
See llvm/llvm-project#98778 This issue only started showing up after the recent llvm change where shared libraries are actually processed by the linker: llvm/llvm-project#75242
1 parent 2ea813d commit 375b354

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_browser.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5374,9 +5374,10 @@ def test_webpack(self, es6):
53745374
shutil.copyfile('webpack/src/hello.wasm', 'webpack/dist/hello.wasm')
53755375
self.run_browser('webpack/dist/index.html', '/report_result?exit:0')
53765376

5377+
@no_wasm64('https://github.com/llvm/llvm-project/issues/98778')
5378+
fails because the side module is detected as wasm32
53775379
def test_fetch_polyfill_shared_lib(self):
53785380
create_file('library.c', r'''
5379-
#include <stdio.h>
53805381
int library_func() {
53815382
return 42;
53825383
}
@@ -5392,7 +5393,7 @@ def test_fetch_polyfill_shared_lib(self):
53925393
}
53935394
''')
53945395

5395-
self.run_process([EMCC, 'library.c', '-sSIDE_MODULE', '-O2', '-o', 'library.so'])
5396+
self.emcc('library.c', ['-sSIDE_MODULE', '-O2', '-o', 'library.so'])
53965397

53975398
def test(args, expect_fail):
53985399
self.compile_btest('main.c', ['-fPIC', 'library.so', '-sMAIN_MODULE=2', '-sEXIT_RUNTIME', '-o', 'a.out.html'] + args)

0 commit comments

Comments
 (0)