Skip to content

Commit

Permalink
ninjabackend: Correctly reference custom_target outputs in subdirs wi…
Browse files Browse the repository at this point in the history
…th rust

This was missed in the last iteration of fixing things.
  • Loading branch information
dcbaker committed Jan 21, 2021
1 parent 27ca7ed commit 4550cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/backend/ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ def generate_rust_target(self, target: build.BuildTarget) -> None:
if isinstance(g, GeneratedList):
fname = os.path.join(self.get_target_private_dir(target), i)
else:
fname = i
fname = os.path.join(g.get_subdir(), i)
if main_rust_file is None:
main_rust_file = fname
orderdeps.append(fname)
Expand Down

0 comments on commit 4550cf9

Please sign in to comment.