Skip to content

Rename Android target triple #5330

Closed
Closed

Description

@brson

Currently rustc uses arm-unknown-android but this doesn't seem to be the preferred triple. I think @sanxiyn mentioned a better one but I can't find it. Maybe arm-linux-androidabi.

Activity

  1. alexrp commented on Mar 12, 2013

    @alexrp

    arm-linux-androideabi is the triple used by the Android NDK.

  2. yichoi commented on Mar 12, 2013

    @yichoi
    Contributor

    You read my mind. I will do that at once

  3. yichoi commented on Mar 13, 2013

    @yichoi
    Contributor

    I renamed arm-unknown-android to arm-linux-androideabi, however more delicate function of get_os and get_arch in driver.rs needed since str::contains cause error by order. I will update patch soon

  4. yichoi commented on Mar 13, 2013

    @yichoi
    Contributor

    I will update doc after patch landed

  5. yichoi commented on Mar 20, 2013

    @yichoi
    Contributor

    I've updated doc
    It reflects renaming arm-unknon-linux to arm-linux-androideabi

  6. added a commit that references this issue on May 2, 2020
  7. added a commit that references this issue on Aug 21, 2026
  8. added a commit that references this issue on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-driverArea: rustc_driver that ties everything together into the `rustc` compilerE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-androidOperating system: Android

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions