summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Gilbert <bgilbert@backtick.net>2025-01-08 14:04:58 -0800
committerEli Schwartz <eschwartz93@gmail.com>2025-01-08 17:14:40 -0500
commitc508b26867741b83b3b73fc88de1ad97acc39c18 (patch)
treef76b9beeb2f64ec100aafd678eb21c6c390f60ba
parent27028bd3b173539fd93eed880ad31a73fc7d1719 (diff)
downloadmeson-c508b26867741b83b3b73fc88de1ad97acc39c18.tar.gz
Copyedit an error message
Fixes: 47acce8ec9 ("Provide a better error message when mixing host and build machines")
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index ca4e5d5a7..ed777ff25 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1500,7 +1500,7 @@ class BuildTarget(Target):
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: