compilers/detect: Make mypy happy

mesonbuild/compilers/detect.py:1015: error: Unused "type: ignore" comment
es/0.61-plus-cython
Nirbheek Chauhan 3 years ago
parent 7534cf34f8
commit b15c5c230b
  1. 2
      mesonbuild/compilers/detect.py

@ -1012,7 +1012,7 @@ def detect_rust_compiler(env: 'Environment', for_machine: MachineChoice) -> Rust
else:
linker = type(cc.linker)(compiler, for_machine, cc.LINKER_PREFIX,
always_args=always_args, version=cc.linker.version,
**extra_args) # type: ignore
**extra_args)
elif 'link' in override[0]:
linker = guess_win_linker(env,
override, cls, for_machine, use_linker_prefix=False)

Loading…
Cancel
Save