Skip to content

Commit

Permalink
Copyedit an error message
Browse files Browse the repository at this point in the history
Fixes: 47acce8 ("Provide a better error message when mixing host and build machines")
  • Loading branch information
bgilbert authored and eli-schwartz committed Jan 8, 2025
1 parent 27028bd commit c508b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ def check_can_link_together(self, t: BuildTargetTypes) -> None:
if not self.uses_rust() and links_with_rust_abi:
raise InvalidArguments(f'Try to link Rust ABI library {t.name!r} with a non-Rust target {self.name!r}')
if self.for_machine is not t.for_machine and (not links_with_rust_abi or t.rust_crate_type != 'proc-macro'):
msg = f'Tried to tied to mix a {t.for_machine} library ("{t.name}") with a {self.for_machine} target "{self.name}"'
msg = f'Tried to mix a {t.for_machine} library ("{t.name}") with a {self.for_machine} target "{self.name}"'
if self.environment.is_cross_build():
raise InvalidArguments(msg + ' This is not possible in a cross build.')
else:
Expand Down

0 comments on commit c508b26

Please sign in to comment.