Skip to content

rustup-init.sh does not correctly detect host string for Pinebook Pro #2111

Closed
@NoraCodes

Description

@NoraCodes

Problem
On Pinebook Pro Debian stretch (9.9), rustup-init.sh tries to download rustup-init for aarch64, but that doesn't work; the CPU is ARMv8. Even once I downloaded an armv7 rustup-init, it guessed the wrong target triple.

Possible Solution(s)
Instead of just checking uname, check the actual ld library; on my machine this is only ld-linux-armhf.so.3 and therefore it is detectable that any aarch64 binaries won't run.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions