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
logger.warning('--js-opts ignored when using llvm backend')
306
-
consume_arg()
307
-
elifcheck_arg('--llvm-opts'):
308
-
diagnostics.warning('deprecated', '--llvm-opts is deprecated. All non-emcc args are passed through to clang.')
309
317
elifarg.startswith('-flto'):
310
318
if'='inarg:
311
319
settings.LTO=arg.split('=')[1]
@@ -315,9 +323,6 @@ def consume_arg_file():
315
323
settings.LTO=0
316
324
elifarg=="--save-temps":
317
325
options.save_temps=True
318
-
elifcheck_arg('--llvm-lto'):
319
-
logger.warning('--llvm-lto ignored when using llvm backend')
320
-
consume_arg()
321
326
elifcheck_arg('--closure-args'):
322
327
args=consume_arg()
323
328
settings.CLOSURE_ARGS+=shlex.split(args)
@@ -432,8 +437,6 @@ def consume_arg_file():
432
437
options.exclude_files.append(consume_arg())
433
438
elifcheck_flag('--use-preload-cache'):
434
439
options.use_preload_cache=True
435
-
elifcheck_flag('--no-heap-copy'):
436
-
diagnostics.warning('legacy-settings', 'ignoring legacy flag --no-heap-copy (that is the only mode supported now)')
437
440
elifcheck_flag('--use-preload-plugins'):
438
441
options.use_preload_plugins=True
439
442
elifcheck_flag('--ignore-dynamic-linking'):
@@ -446,17 +449,10 @@ def consume_arg_file():
446
449
options.shell_path=consume_arg_file()
447
450
elifcheck_arg('--source-map-base'):
448
451
options.source_map_base=consume_arg()
449
-
elifcheck_arg('--embind-emit-tsd'):
450
-
diagnostics.warning('deprecated', '--embind-emit-tsd is deprecated. Use --emit-tsd instead.')
451
-
options.emit_tsd=consume_arg()
452
452
elifcheck_arg('--emit-tsd'):
453
453
options.emit_tsd=consume_arg()
454
454
elifcheck_flag('--no-entry'):
455
455
options.no_entry=True
456
-
elifcheck_flag('--remove-duplicates'):
457
-
diagnostics.warning('legacy-settings', '--remove-duplicates is deprecated as it is no longer needed. If you cannot link without it, file a bug with a testcase')
458
-
elifcheck_flag('--jcache'):
459
-
logger.error('jcache is no longer supported')
460
456
elifcheck_arg('--cache'):
461
457
config.CACHE=os.path.abspath(consume_arg())
462
458
cache.setup()
@@ -481,14 +477,8 @@ def consume_arg_file():
481
477
elifcheck_flag('--show-ports'):
482
478
ports.show_ports()
483
479
should_exit=True
484
-
elifcheck_arg('--memory-init-file'):
485
-
exit_with_error('--memory-init-file is no longer supported')
486
-
elifcheck_flag('--proxy-to-worker'):
487
-
exit_with_error('--proxy-to-worker is no longer supported')
488
480
elifcheck_arg('--valid-abspath'):
489
481
options.valid_abspaths.append(consume_arg())
490
-
elifcheck_flag('--separate-asm'):
491
-
exit_with_error('cannot --separate-asm with the wasm backend, since not emitting asm.js')
492
482
elifarg.startswith(('-I', '-L')):
493
483
path_name=arg[2:]
494
484
# Look for '/' explicitly so that we can also diagnose identically if -I/foo/bar is passed on Windows.
@@ -549,8 +539,6 @@ def consume_arg_file():
549
539
settings.DISABLE_EXCEPTION_CATCHING=1
550
540
elifarg=='-ffast-math':
551
541
options.fast_math=True
552
-
elifcheck_arg('--default-obj-ext'):
553
-
exit_with_error('--default-obj-ext is no longer supported by emcc')
554
542
elifarg.startswith('-fsanitize=cfi'):
555
543
exit_with_error('emscripten does not currently support -fsanitize=cfi')
0 commit comments