-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
target tier policy compliance #116004
Closed
davidtwco
wants to merge
145
commits into
rust-lang:master
from
davidtwco:target-tier-policy-compliance
Closed
target tier policy compliance #116004
Changes from all commits
Commits
Show all changes
145 commits
Select commit
Hold shift + click to select a range
5e548e1
doc: target tier policy with compiler-team#655
davidtwco cc28971
target compliance: x86_64h-apple-darwin
davidtwco 16652f0
target compliance: *-wrs-vxworks
davidtwco ec2207a
target compliance: *-unknown-openbsd
davidtwco 9ffe261
target compliance: *-unknown-linux-ohos
davidtwco 61750e9
target compliance: x86_64-unknown-l4re-uclibc
davidtwco e9f3db4
target compliance: *-unknown-hermit
davidtwco eb644c8
target compliance: *-unknown-haiku
davidtwco 6ad7f0f
target compliance: x86_64-unknown-dragonfly
davidtwco 24016d2
target compliance: x86_64-unikraft-linux-musl
davidtwco 2cb4531
target compliance: *-uwp-windows-{msvc,gnu}
davidtwco ceea4fa
target compliance: x86_64-sun-solaris
davidtwco 1f8ce49
target compliance: drop windows xp in tier 3
davidtwco be2b697
target compliance: x86_64-pc-windows-gnullvm
davidtwco 28109b5
target compliance: x86_64-pc-nto-qnx710
davidtwco 85ce178
target compliance: *-apple-watchos{,-*}
davidtwco 1947656
target compliance: *-apple-tvos
davidtwco 5076fe7
target compliance: *-apple-ios-macabi
davidtwco 44c6fdf
target compliance: wasm64-unknown-unknown
davidtwco 92e5322
target compliance: wasm32-wasi-preview1-threads
davidtwco 8169ca1
target compliance: thumbv7neon-unknown-linux-musleabihf
davidtwco 23e54d0
target compliance: thumbv7a-pc-windows-msvc
davidtwco 29b2ca8
target compliance: {arm,thumb}v5te-none-eabi
davidtwco 4b49b81
target compliance: {arm,thumb}v4t-none-eabi
davidtwco e228da1
target compliance: sparc-unknown-none-elf
davidtwco f7f9e85
target compliance: sparc-unknown-linux-gnu
davidtwco 9f7929c
target compliance: s390x-unknown-linux-musl
davidtwco 13e23bb
target compliance: riscv64-linux-android
davidtwco 1a49c26
target compliance: netbsd
davidtwco d034d66
target compliance: fuchsia
davidtwco d7a6a9e
target compliance: freebsd
davidtwco b987ec9
target compliance: *-esp-espidf
davidtwco 4597e06
target compliance: riscv32imac-unknown-xous-elf
davidtwco 792f37d
target compliance: riscv32im-unknown-none-elf
davidtwco 521a962
target compliance: riscv{32,64}gc-unknown-linux-musl
davidtwco 66a1f1b
target compliance: riscv32gc-unknown-linux-gnu
davidtwco df33447
target compliance: powerpc64-ibm-aix
davidtwco 8c33187
target compliance: powerpc64{,le}-unknown-linux-musl
davidtwco 12c5564
target compliance: powerpc-unknown-linux-musl
davidtwco 28d31fc
target compliance: powerpc-unknown-linux-gnuspe
davidtwco 28c6d09
target compliance: msp430-none-elf
davidtwco 13bba49
target compliance: mipsisa{32r6,32r6el,64r6,64r6el}-unknown-linux-gnu…
davidtwco 4067e5d
target compliance: mipsel-unknown-none
davidtwco a3e4a7e
target compliance: mipsel-unknown-linux-uclibc
davidtwco 2325f91
target compliance: mipsel-sony-psx
davidtwco 55f3416
target compliance: mipsel-sony-psp
davidtwco edf7a4b
target compliance: mips64-openwrt-linux-musl
davidtwco 04d6c8b
target compliance: mips-unknown-linux-uclibc
davidtwco 343ed33
target compliance: m68k-unknown-linux-gnu
davidtwco 4354c65
target compliance: loongarch64-unknown-none{,-softfloat}
davidtwco ea63ade
target compliance: *-{pc,uwp}-windows-msvc
davidtwco 2a223d3
target compliance: i686-apple-darwin
davidtwco 2f962fb
target compliance: i586-pc-nto-qnx700
davidtwco 83b931d
target compliance: i386-apple-ios
davidtwco 006f459
target compliance: hexagon-unknown-linux-musl
davidtwco d9f5fc5
target compliance: csky-unknown-linux-gnuabiv2
davidtwco 814ea89
target compliance: bpf
davidtwco 677fd51
target compliance: avr
davidtwco 27a3682
target compliance: armv7s-apple-ios
davidtwco 1d5921c
target compliance: armv7a-none-eabihf
davidtwco 3232d01
target compliance: {aarch64,armv7a}-kmc-solid_asp3{,-eabi,-eabihf}
davidtwco 65c2bbf
target compliance: armv7-unknown-linux-uclibceabihf
davidtwco 82bcc00
target compliance: armv7-unknown-linux-uclibceabi
davidtwco 34cc90c
target compliance: armv7-apple-ios
davidtwco 9017044
target compliance: armv6k-nintendo-3ds
davidtwco d7da694
target compliance: armv5te-unknown-linux-uclibceabi
davidtwco cf81738
target compliance: armv4t-unknown-linux-gnueabi
davidtwco 023764c
target compliance: armeb-unknown-linux-gnueabi
davidtwco 57473bb
target compliance: aarch64_be-unknown-linux-gnu{,_ilp32}
davidtwco a5fa026
target compliance: aarch64-unknown-redox
davidtwco f66038f
target compliance: aarch64-unknown-linux-gnu_ilp32
davidtwco 439559b
target compliance: aarch64-unknown-nto-qnx710
davidtwco 11d6408
target compliance: aarch64-unknown-teeos
davidtwco 4e88447
target compliance: aarch64-pc-windows-gnullvm
davidtwco 2fcadaa
target compliance: aarch64-nintendo-switch-freestanding
davidtwco 818f335
target compliance: x86_64-unknown-uefi
davidtwco 46f63bd
target compliance: x86_64-unknown-redox
davidtwco 387d4fb
target compliance: x86_64-unknown-none
davidtwco 074dec8
target compliance: x86_64-unknown-linux-gnux32
davidtwco 61afec9
target compliance: x86_64-pc-solaris
davidtwco d800c85
target compliance: x86_64-linux-android
davidtwco cd171c6
target compliance: x86_64-fortanix-unknown-sgx
davidtwco 1007b1e
target compliance: x86_64-apple-ios
davidtwco 1398375
target compliance: wasm32-wasi
davidtwco a6fe718
target compliance: wasm32-unknown-unknown
davidtwco ff99f86
target compliance: wasm32-unknown-emscripten
davidtwco 2dd9844
target compliance: thumbv8m.main-none-eabi{,hf}
davidtwco 7d070ae
target compliance: thumbv8m.base-none-eabi
davidtwco 7bc7e34
target compliance: thumbv7neon-unknown-linux-gnueabihf
davidtwco 205d932
target compliance: thumbs
davidtwco 3249a8b
target compliance: thumbv7neon-linux-androideabi
davidtwco 7946d7f
target compliance: sparcv9-sun-solaris
davidtwco 9765867
target compliance: sparc64-unknown-linux-gnu
davidtwco b72f273
target compliance: riscv64imac-unknown-none-elf
davidtwco 7194cec
target compliance: riscv{32,64}{i,imc,imac,gc}-unknown-none-elf
davidtwco 7e9c2b0
target compliance: nvptx64-nvidia-cuda
davidtwco 5dbfdb2
target compliance: mips{el}-unknown-linux-musl
davidtwco bf1db71
target compliance: mips64{,el}-unknown-linux-muslabi64
davidtwco 2be3c3d
target compliance: i686-unknown-uefi
davidtwco 3ba756c
target compliance: i686-unknown-linux-musl
davidtwco 260530c
target compliance: i686-linux-android
davidtwco 2310d63
target compliance: i586-unknown-linux-{gnu,musl}
davidtwco 7f0c721
target compliance: asmjs-unknown-emscripten
davidtwco eb4a728
target compliance: arm{,eb}v7r-none-eabi{,hf}
davidtwco 275d932
target compliance: armv7a-none-eabi
davidtwco 04244ac
target compliance: armv7-unknown-linux-*
davidtwco 4c27eb6
target compliance: armv7-linux-androideabi
davidtwco 7ed2d41
target compliance: armv5te-unknown-linux-musleabi
davidtwco 2fded6c
target compliance: armv5te-unknown-linux-gnueabi
davidtwco b3fcd00
target compliance: arm-unknown-linux-musleabi{,hf}
davidtwco f13291f
target compliance: arm-linux-androideabi
davidtwco 1480abb
target compliance: aarch64-unknown-uefi
davidtwco 48b5b92
target compliance: aarch64-unknown-none{,-softfloat}
davidtwco 53b6839
target compliance: aarch64-linux-android
davidtwco baaa94d
target compliance: aarch64-apple-ios-sim
davidtwco 5c3257f
target compliance: aarch64-apple-ios
davidtwco 3b31f46
target compliance: x86_64-unknown-linux-musl
davidtwco 1d86a04
target compliance: x86_64-unknown-illumos
davidtwco 2fef4a2
target compliance: s390x-unknown-linux-gnu
davidtwco 0e5af92
target compliance: riscv64gc-unknown-linux-gnu
davidtwco 18cb8af
target compliance: powerpc64{,le}-unknown-linux-gnu
davidtwco d44c9e1
target compliance: powerpc-unknown-linux-gnu
davidtwco cf06153
target compliance: misp{,el}-unknown-linux-gnu
davidtwco a78c838
target compliance: mips64{,el}-unknown-linux-gnuabi64
davidtwco e5e79ce
target compliance: loongarch64-unknown-linux-gnu
davidtwco 71674ac
target compliance: armv7-unknown-linux-gnueabihf
davidtwco 23fdc0c
target compliance: arm-unknown-linux-gnueabi{,hf}
davidtwco e6b1447
target compliance: aarch64-unknown-linux-musl
davidtwco 654e5b5
target compliance: aarch64-apple-darwin
davidtwco 0b5a849
target compliance: x86_64-unknown-linux-gnu
davidtwco 91908f1
target compliance: x86_64-pc-windows-gnu
davidtwco b269571
target compliance: x86_64-apple-darwin
davidtwco f7cd648
target compliance: i686-unknown-linux-gnu
davidtwco 25ac7a0
target compliance: i686-pc-windows-gnu
davidtwco 668fc9d
target compliance: aarch64-unknown-linux-gnu
davidtwco 93e572b
rustc_target: move base specs into a module
davidtwco f759acf
target compliance: i686-pc-windows-gnullvm
davidtwco b916d45
rustc_target: rename module to match target
davidtwco 44b2082
doc/rustc: rename docs to match target defns
davidtwco 4847641
tidy: add lint for target policy compliance
davidtwco 674ccbb
doc/rustc: every target has its own page
davidtwco 87fe421
target compliance: armv7-sony-vita-newlibeabihf
davidtwco 94116c0
rustc_target: add missing i386/i486
davidtwco 64a9b74
tidy: look for unused tests/docs in target policy
davidtwco 6199d59
doc/rustc: add new platform support docs to SUMMARY
davidtwco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
compiler/rustc_target/src/spec/aarch64_be_unknown_linux_gnu_ilp32.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elsewhere in rustc we don't use nested
use
afaik.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might in some places, though admittedly it is less common, but unless you've got a one-liner that I can change these all with, they can stay this way until we've got a formatter or something like that fixing it and enforcing a standard - I don't want to go through all those files again just for a minor formatting preference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rustfmt has the unstable import_granularity config: https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity Using the
module
value would work I think.Try
build/host/rustfmt/bin/rustfmt --config imports_granularity=module compiler/rustc_target/src/spec/**/*.rs
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also prefer to keep imports as is, and do the
super::apple_base
->super::base::apple
transformation instead.The PR is already too large without the import changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use nested
use
a lot so in the parts of rustc I work on, they occur regularly.However, no need to change the style on existing files.