-
Notifications
You must be signed in to change notification settings - Fork 962
fix(dist/triple): ensure dist::triple::known
is up to date with platforms
#3841
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c477bfa
refactor(build): simplify the code obtaining the current triple
rami3l 62efd8f
refactor(build): use `platforms` to verify `RUSTUP_OVERRIDE_BUILD_TRI…
rami3l 390657b
refactor(dist/triple): move known triples to `dist::triple::known`
rami3l 24a3860
refactor(toolchain): reuse `dist::triple::known` in `toolchain::names`
rami3l 4c3fe19
fix(dist/triple): ensure `dist::triple::known` is up to date with `pl…
rami3l File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
pub static LIST_ARCHS: &[&str] = &[ | ||
"aarch64", | ||
"aarch64_be", | ||
"arm", | ||
"arm64_32", | ||
"arm64e", | ||
"arm64ec", | ||
"armeb", | ||
"armebv7r", | ||
"armv4t", | ||
"armv5te", | ||
"armv6", | ||
"armv6k", | ||
"armv7", | ||
"armv7a", | ||
"armv7k", | ||
"armv7r", | ||
"armv7s", | ||
"armv8r", | ||
"avr", | ||
"bpfeb", | ||
"bpfel", | ||
"csky", | ||
"hexagon", | ||
"i386", | ||
"i586", | ||
"i686", | ||
"loongarch64", | ||
"m68k", | ||
"mips", | ||
"mips64", | ||
"mips64el", | ||
"mipsel", | ||
"mipsisa32r6", | ||
"mipsisa32r6el", | ||
"mipsisa64r6", | ||
"mipsisa64r6el", | ||
"msp430", | ||
"nvptx64", | ||
"powerpc", | ||
"powerpc64", | ||
"powerpc64le", | ||
"riscv32gc", | ||
"riscv32i", | ||
"riscv32im", | ||
"riscv32ima", | ||
"riscv32imac", | ||
"riscv32imafc", | ||
"riscv32imc", | ||
"riscv64", | ||
"riscv64gc", | ||
"riscv64imac", | ||
"s390x", | ||
"sparc", | ||
"sparc64", | ||
"sparcv9", | ||
"thumbv4t", | ||
"thumbv5te", | ||
"thumbv6m", | ||
"thumbv7a", | ||
"thumbv7em", | ||
"thumbv7m", | ||
"thumbv7neon", | ||
"thumbv8m.base", | ||
"thumbv8m.main", | ||
"wasm32", | ||
"wasm64", | ||
"x86_64", | ||
"x86_64h", | ||
]; | ||
pub static LIST_OSES: &[&str] = &[ | ||
"apple-darwin", | ||
"apple-ios", | ||
"apple-tvos", | ||
"apple-watchos", | ||
"esp-espidf", | ||
"fortanix-unknown", | ||
"fuchsia", | ||
"ibm-aix", | ||
"kmc-solid_asp3", | ||
"linux", | ||
"nintendo-3ds", | ||
"nintendo-switch", | ||
"none", | ||
"nvidia-cuda", | ||
"openwrt-linux", | ||
"pc-nto", | ||
"pc-solaris", | ||
"pc-windows", | ||
"risc0-zkvm", | ||
"sony-psp", | ||
"sony-psx", | ||
"sony-vita", | ||
"sun-solaris", | ||
"unikraft-linux", | ||
"unknown-dragonfly", | ||
"unknown-emscripten", | ||
"unknown-freebsd", | ||
"unknown-fuchsia", | ||
"unknown-gnu", | ||
"unknown-haiku", | ||
"unknown-hermit", | ||
"unknown-hurd", | ||
"unknown-illumos", | ||
"unknown-l4re", | ||
"unknown-linux", | ||
"unknown-netbsd", | ||
"unknown-none", | ||
"unknown-nto", | ||
"unknown-openbsd", | ||
"unknown-redox", | ||
"unknown-teeos", | ||
"unknown-uefi", | ||
"unknown-unknown", | ||
"unknown-xous", | ||
"uwp-windows", | ||
"wasi", | ||
"wasip1", | ||
"wasip1-threads", | ||
"wasip2", | ||
"win7-windows", | ||
"wrs-vxworks", | ||
]; | ||
pub static LIST_ENVS: &[&str] = &[ | ||
"android", | ||
"androideabi", | ||
"atmega328", | ||
"eabi", | ||
"eabihf", | ||
"elf", | ||
"freestanding", | ||
"gnu", | ||
"gnu_ilp32", | ||
"gnuabi64", | ||
"gnuabiv2", | ||
"gnuabiv2hf", | ||
"gnueabi", | ||
"gnueabihf", | ||
"gnullvm", | ||
"gnuspe", | ||
"gnux32", | ||
"macabi", | ||
"msvc", | ||
"musl", | ||
"muslabi64", | ||
"musleabi", | ||
"musleabihf", | ||
"newlibeabihf", | ||
"ohos", | ||
"qnx700", | ||
"qnx710", | ||
"sgx", | ||
"sim", | ||
"softfloat", | ||
"spe", | ||
"uclibc", | ||
"uclibceabi", | ||
"uclibceabihf", | ||
]; |
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.