We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-sEXPORT_NAME=config
1 parent 0e54be7 commit 53274f2Copy full SHA for 53274f2
emcc.py
@@ -3767,7 +3767,10 @@ def modularize():
3767
if not settings.EXPORT_READY_PROMISE:
3768
return_value = '{}'
3769
3770
- # FIXME: https://bugs.webkit.org/show_bug.cgi?id=223533
+ # TODO: Remove when https://bugs.webkit.org/show_bug.cgi?id=223533 is resolved.
3771
+ if async_emit != '' and settings.EXPORT_NAME == 'config':
3772
+ diagnostics.warning('emcc', 'EXPORT_NAME should not be named "config" when targeting Safari')
3773
+
3774
src = '''
3775
%(maybe_async)sfunction(config) {
3776
var %(EXPORT_NAME)s = config || {};
0 commit comments