Lines Matching refs:arg
309 arg = args[i]
310 if arg == '--crate-name':
322 elif arg == '--crate-type':
335 elif arg == '--test':
342 elif arg == '--target':
345 elif arg == '--cfg':
351 elif arg == '--extern':
356 elif arg == '-C': # codegen options
364 elif arg == '--cap-lints':
367 elif arg == '-L':
377 elif arg == '-l':
385 elif arg == '--out-dir' or arg == '--color': # ignored
387 elif arg.startswith('--error-format=') or arg.startswith('--json='):
388 _ = arg # ignored
389 elif arg.startswith('--emit='):
390 self.emit_list = arg.replace('--emit=', '')
391 elif arg.startswith('--edition='):
392 self.edition = arg.replace('--edition=', '')
394 self.errors += 'ERROR: unknown ' + arg + '\n'
734 arg = args[i]
735 if arg == '"-c"':
744 elif arg == '"-o"':
747 elif arg == '"-I"':
750 elif arg.startswith('"-D'):
752 elif arg.startswith('"-f'):
754 elif arg.startswith('"-W'):
756 elif not (arg.startswith('"-O') or arg == '"-m64"' or arg == '"-g"' or
757 arg == '"-g3"'):