void-packages/srcpkgs/0ad/files/rust-target.patch

12 lines
336 B
Diff

--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -352,7 +352,7 @@
return None
- rustc_target = find_candidate(candidates)
+ rustc_target = os.environ["RUST_TARGET"]
if rustc_target is None:
die("Don't know how to translate {} for rustc".format(