Skip to content

Commit

Permalink
compilers/detect: Make mypy happy
Browse files Browse the repository at this point in the history
mesonbuild/compilers/detect.py:1015: error: Unused "type: ignore" comment
  • Loading branch information
nirbheek committed Mar 14, 2022
1 parent 7534cf3 commit b15c5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b15c5c2

Please sign in to comment.