Skip to content

Commit

Permalink
Fix minimal version for Emscripten C23 support
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored and jpakkane committed Oct 11, 2024
1 parent adeb844 commit 8407041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class EmscriptenCCompiler(EmscriptenMixin, ClangCCompiler):
_C17_VERSION = '>=1.38.35'
_C18_VERSION = '>=1.38.35'
_C2X_VERSION = '>=1.38.35' # 1.38.35 used Clang 9.0.0
_C23_VERSION = '>=3.0.0' # 3.0.0 used Clang 18.0.0
_C23_VERSION = '>=3.1.45' # 3.1.45 used Clang 18.0.0

def __init__(self, ccache: T.List[str], exelist: T.List[str], version: str, for_machine: MachineChoice, is_cross: bool,
info: 'MachineInfo',
Expand Down

0 comments on commit 8407041

Please sign in to comment.