Skip to content

Commit

Permalink
rust: Do not use +verbatim on MacOS
Browse files Browse the repository at this point in the history
It seems broken and fails on our CI:
rust-lang/rust#116674
  • Loading branch information
xclaesse committed Oct 13, 2023
1 parent 98196e6 commit b234ea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesonbuild/backend/ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,8 @@ def generate_rust_target(self, target: build.BuildTarget) -> None:
else:
whole_archive = ''

if mesonlib.version_compare(rustc.version, '>= 1.67.0'):
# FIXME: Seems broken on MacOS: https://github.com/rust-lang/rust/issues/116674
if mesonlib.version_compare(rustc.version, '>= 1.67.0') and not mesonlib.is_osx():
verbatim = '+verbatim'
else:
verbatim = ''
Expand Down

0 comments on commit b234ea5

Please sign in to comment.