Skip to content

Commit

Permalink
Disable test_utf32_short_wchar under LTO. NFC (emscripten-core#22711)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Oct 10, 2024
1 parent 429f70c commit 9e37a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5684,6 +5684,8 @@ def test_utf32(self):

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

@crossplatform
Expand Down

0 comments on commit 9e37a10

Please sign in to comment.