Skip to content

Commit 9e37a10

Browse files
authored
Disable test_utf32_short_wchar under LTO. NFC (#22711)
1 parent 429f70c commit 9e37a10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5684,6 +5684,8 @@ def test_utf32(self):
56845684

56855685
@no_sanitize('requires libc to be built with -fshort-char')
56865686
def test_utf32_short_wchar(self):
5687+
if '-flto' in self.emcc_args or '-flto=thin' in self.emcc_args:
5688+
self.skipTest('-fshort-wchar is not compatible with LTO (libraries would need rebuilting)')
56875689
self.do_runf('utf32.cpp', 'OK (short).\n', emcc_args=['-fshort-wchar'])
56885690

56895691
@crossplatform

0 commit comments

Comments
 (0)