thunderbird: fix build with newer rust

This commit is contained in:
Enno Boland 2018-10-26 15:06:53 +02:00
parent a22372a536
commit 6ad5a90343
No known key found for this signature in database
GPG Key ID: D09964719BDE9971

View File

@ -0,0 +1,14 @@
--- build/moz.configure/rust.configure.orig 2018-10-26 15:02:30.276600157 +0200
+++ build/moz.configure/rust.configure 2018-10-26 15:02:14.081581242 +0200
@@ -119,7 +119,10 @@ def rust_supported_targets(rustc):
ambiguous = set()
per_raw_os = {}
for t in out:
- t = split_triplet(t, allow_unknown=True)
+ try:
+ t = split_triplet(t, allow_unknown=True)
+ except:
+ continue
key = (t.cpu, t.endianness, t.os)
if key in per_os:
previous = per_os[key]