Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 748849
Collapse All | Expand All

(-)file_not_specified_in_diff (-8 / +3 lines)
Line  Link Here
0
 x86_64-unknown-linux-musl, and
0
++ b/build/moz.configure/rust.configure
1
 x86-64-gentoo-linux-musl
2
gentoo- as a vendor target, but
3
unknown-.
4
gentoo- and tries to use it, without
5
gentoo- installed as a Rust target.
6
-- a/build/moz.configure/rust.configure
Lines 275-280 def rust_supported_targets(rustc): Link Here
275
    return data
275
    return data
276
276
277
277
278
@imports('os')
278
def detect_rustc_target(
279
def detect_rustc_target(
279
    host_or_target, compiler_info, arm_target, rust_supported_targets
280
    host_or_target, compiler_info, arm_target, rust_supported_targets
280
):
281
):
Lines 396-402 def detect_rustc_target( Link Here
396
397
397
        return None
398
        return None
398
399
399
    rustc_target = find_candidate(candidates)
400
    rustc_target = os.environ.get('RUST_TARGET', find_candidate(candidates))
400
401
401
    if rustc_target is None:
402
    if rustc_target is None:
402
        die("Don't know how to translate {} for rustc".format(host_or_target.alias))
403
        die("Don't know how to translate {} for rustc".format(host_or_target.alias))

Return to bug 748849