-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
add arm-maintainers to various targets #147268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # `aarch64-unknown-linux-gnu` | ||
|
|
||
| **Tier: 1 (with Host Tools)** | ||
|
|
||
| Target for 64-bit little endian ARMv8-A Linux 4.1+ programs using glibc 2.17+. | ||
|
|
||
| ## Target maintainers | ||
|
|
||
| - [@rust-lang/arm-maintainers][arm_maintainers] ([rust@arm.com][arm_email]) | ||
|
|
||
| [arm_maintainers]: https://github.com/rust-lang/team/blob/master/teams/arm-maintainers.toml | ||
| [arm_email]: mailto:rust@arm.com | ||
|
|
||
| ## Requirements | ||
|
|
||
| Building the target itself requires a 64-bit little endian ARMv8-A compiler that is supported by | ||
| `cc-rs`. | ||
|
|
||
| ## Building the target | ||
|
|
||
| The target can be built by enabling it for a `rustc` build: | ||
|
|
||
| ```toml | ||
| [build] | ||
| target = ["aarch64-unknown-linux-gnu"] | ||
| ``` | ||
|
|
||
| If cross-compiling, make sure your C compiler is included in `$PATH`, then add it to the | ||
| `bootstrap.toml`: | ||
|
|
||
| ```toml | ||
| [target.aarch64-unknown-linux-musl] | ||
| cc = "aarch64-linux-gnu-gcc" | ||
| cxx = "aarch64-linux-gnu-g++" | ||
| ar = "aarch64-linux-gnu-ar" | ||
| linker = "aarch64-linux-gnu-gcc" | ||
| ``` | ||
|
|
||
| ## Building Rust programs | ||
|
|
||
| This target is distributed through `rustup`, and otherwise requires no special configuration. | ||
|
|
||
| ## Cross-compilation | ||
|
|
||
| This target can be cross-compiled from any host. | ||
|
|
||
| ## Testing | ||
|
|
||
| This target can be tested as normal with `x.py` on a 64-bit little endian ARMv8-A host or via QEMU | ||
| emulation. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # `armv7-unknown-linux-gnueabi` and `armv7-unknown-linux-gnueabihf` | ||
|
|
||
| * **Tier: 2 (with Host Tools)** for `armv7-unknown-linux-gnueabihf` | ||
| * **Tier: 2** for `armv7-unknown-linux-gnueabi` | ||
|
|
||
| Target for 32-bit little endian ARMv7-A Linux 3.2+ programs using glibc 2.17+. | ||
|
|
||
| ## Target maintainers | ||
|
|
||
| - [@rust-lang/arm-maintainers][arm_maintainers] ([rust@arm.com][arm_email]) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intent was for this point to be something one can copy-paste into a github discussion to ping the right people (see #139028). That doesn't work with
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know how to add that myself, members don't have rights to add teams to the repo; apart infra and admins, who knows whether/how
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The teams repo supports GH syncs so the arm-maintainers "team" could easily be reflected as a GH group. Or we use the ping group, though if that has more people in it that didn't agree to be target maintainers maybe that overshoots? Anyway, all I am saying is that this page should uphold the general invariant to provide a little snippet of text I can just copy-paste into github to ping the right people. |
||
|
|
||
| [arm_maintainers]: https://github.com/rust-lang/team/blob/master/teams/arm-maintainers.toml | ||
| [arm_email]: mailto:rust@arm.com | ||
|
|
||
| ## Requirements | ||
|
|
||
| Building the targets themselves requires a 32-bit little endian ARMv7-A compiler that is supported | ||
| by `cc-rs`. | ||
|
|
||
| ## Building the target | ||
|
|
||
| These targets can be built by enabling it for a `rustc` build: | ||
|
|
||
| ```toml | ||
| [build] | ||
| target = ["armv7-unknown-linux-gnueabihf", "armv7-unknown-linux-gnueabi"] | ||
| ``` | ||
|
|
||
| If cross-compiling, make sure your C compiler is included in `$PATH`, then add it to the | ||
| `bootstrap.toml`: | ||
|
|
||
| ```toml | ||
| [target.aarch64-unknown-linux-musl] | ||
| cc = "arm-linux-gnu-gcc" | ||
| cxx = "arm-linux-gnu-g++" | ||
| ar = "arm-linux-gnu-ar" | ||
| linker = "arm-linux-gnu-gcc" | ||
| ``` | ||
|
|
||
| ## Building Rust programs | ||
|
|
||
| These targets is distributed through `rustup`, and otherwise requires no special configuration. | ||
|
|
||
| ## Cross-compilation | ||
|
|
||
| These targets can be cross-compiled from any host. | ||
|
|
||
| ## Testing | ||
|
|
||
| These targets can be tested as normal with `x.py` on a 32-bit little endian ARMv7-A host or via | ||
| QEMU emulation. | ||
Uh oh!
There was an error while loading. Please reload this page.