You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow -target to be specified on the command line. NFC (#19840)
This makes `-target wasm64` work and imply `-sMEMORY64`.
Supporting these flags makes us more compatible with upstream clang
and with wasi-sdk.
See #19834
exit_with_error("DISABLE_EXCEPTION_THROWING was set (probably from -fno-exceptions) but is not compatible with enabling exception catching (DISABLE_EXCEPTION_CATCHING=0). If you don't want exceptions, set DISABLE_EXCEPTION_CATCHING to 1; if you do want exceptions, don't link with -fno-exceptions")
1641
1642
1643
+
ifoptions.target.startswith('wasm64'):
1644
+
default_setting('MEMORY64', 1)
1645
+
1642
1646
ifsettings.MEMORY64:
1647
+
ifoptions.target.startswith('wasm32'):
1648
+
exit_with_error('wasm32 target is not compatible with -sMEMORY64')
1643
1649
diagnostics.warning('experimental', '-sMEMORY64 is still experimental. Many features may not work.')
0 commit comments