--- thunderbird-60.6.1/build/moz.configure/rust.configure 2019-03-25 02:38:14.000000000 +0100 +++ thunderbird-60.6.1/build/moz.configure/rust.configure.new 2019-04-12 15:54:48.741710839 +0200 @@ -190,9 +190,11 @@ def rust_triple_alias(host_or_target): die("Don't know how to translate {} for rustc".format( host_or_target.alias)) + rustc_target_alias = 'armv7-unknown-linux-gnueabihf' + # Check to see whether our rustc has a reasonably functional stdlib # for our chosen target. - target_arg = '--target=' + rustc_target.alias + target_arg = '--target=' + rustc_target_alias in_fd, in_path = mkstemp(prefix='conftest', suffix='.rs') out_fd, out_path = mkstemp(prefix='conftest', suffix='.rlib') os.close(out_fd) @@ -220,7 +222,7 @@ def rust_triple_alias(host_or_target): a rust std library for that target installed. Try: rustup target add {} - '''.format(host_or_target.alias, rustc, rustc_target.alias))) + '''.format(rustc_target_alias, rustc, rustc_target_alias))) check_cmd_output(*cmd, onerror=failed) if not os.path.exists(out_path) or os.path.getsize(out_path) == 0: failed() @@ -229,7 +231,7 @@ def rust_triple_alias(host_or_target): os.remove(out_path) # This target is usable. - return rustc_target.alias + return rustc_target_alias return rust_target