#target-triple #triple #架构 #目标 #CPU #目标 #操作系统

无 std 平台

Rust 平台注册表,包含来自 Rust 编译器的有效 Rust 平台(目标三元组、目标架构、目标操作系统)信息

13 个稳定版本

3.4.1 2024年6月24日
3.4.0 2024年3月27日
3.3.0 2023年12月28日
3.2.0 2023年11月1日
0.1.4 2018年7月29日

#60开发工具 分类中

Download history 324219/week @ 2024-05-01 322773/week @ 2024-05-08 355146/week @ 2024-05-15 353443/week @ 2024-05-22 381061/week @ 2024-05-29 347882/week @ 2024-06-05 349711/week @ 2024-06-12 213466/week @ 2024-06-19 184063/week @ 2024-06-26 152024/week @ 2024-07-03 171376/week @ 2024-07-10 195023/week @ 2024-07-17 167557/week @ 2024-07-24 135856/week @ 2024-07-31 140312/week @ 2024-08-07 107944/week @ 2024-08-14

588,133 每月下载量
用于 118 包(26 个直接使用)

Apache-2.0 OR MIT

180KB
3.5K SLoC

RustSec: platforms

Latest Version Docs Build Status Apache 2/MIT licensed MSRV Project Chat

Rust 平台注册表:提供对有效 Rust 平台信息的编程访问,这些信息来自 Rust 编译器。

文档

关于

此包提供对有效 Rust 平台信息的编程访问。这对于记录/盘点与 Rust 平台相关的信息的系统非常有用。

它为 RustSec 咨询数据库 创建,并由 Rust 安全代码工作组 维护。

它不是为了根据当前平台阻止构建或作为 Rust 现有条件编译功能的替代品而设计的:请使用它们进行构建目的。

最低支持的 Rust 版本

Rust 1.40 或更高版本。

最低支持的 Rust 版本可能在将来发生变化,但将伴随小版本号的增加。

语义化版本政策

我们保留在不增加主版本号的情况下添加和删除注册表中平台的权利。这不会改变 API,但可能会破坏预期平台存在而它们被删除的包。

如果我们删除平台,我们将增加此包的小版本号。

注册平台

一级

目标三元组 目标架构 目标操作系统 目标环境
aarch64-unknown-linux-gnu aarch64 linux gnu
i686-pc-windows-gnu x86 windows gnu
i686-pc-windows-msvc x86 windows msvc
i686-unknown-linux-gnu x86 linux gnu
x86_64-apple-darwin x86_64 macos
x86_64-pc-windows-gnu x86_64 windows gnu
x86_64-pc-windows-msvc x86_64 windows msvc
x86_64-unknown-linux-gnu x86_64 linux gnu

二级

目标三元组 目标架构 目标操作系统 目标环境
aarch64-apple-darwin aarch64 macos
aarch64-apple-ios aarch64 ios
aarch64-apple-ios-sim aarch64 ios
aarch64-fuchsia aarch64 fuchsia
aarch64-linux-android aarch64 android
aarch64-pc-windows-gnullvm aarch64 windows gnu
aarch64-pc-windows-msvc aarch64 windows msvc
aarch64-unknown-fuchsia aarch64 fuchsia
aarch64-unknown-linux-musl aarch64 linux musl
aarch64-unknown-linux-ohos aarch64 linux ohos
aarch64-unknown-none aarch64 none
aarch64-unknown-none-softfloat aarch64 none
aarch64-unknown-uefi aarch64 uefi
arm-linux-androideabi arm android
arm-unknown-linux-gnueabi arm linux gnu
arm-unknown-linux-gnueabihf arm linux gnu
arm-unknown-linux-musleabi arm linux musl
arm-unknown-linux-musleabihf arm linux musl
arm64ec-pc-windows-msvc arm64ec windows msvc
armebv7r-none-eabi arm none
armebv7r-none-eabihf arm none
armv5te-unknown-linux-gnueabi arm linux gnu
armv5te-unknown-linux-musleabi arm linux musl
armv7-linux-androideabi arm android
armv7-unknown-linux-gnueabi arm linux gnu
armv7-unknown-linux-gnueabihf arm linux gnu
armv7-unknown-linux-musleabi arm linux musl
armv7-unknown-linux-musleabihf arm linux musl
armv7-unknown-linux-ohos arm linux ohos
armv7a-none-eabi arm none
armv7r-none-eabi arm none
armv7r-none-eabihf arm none
i586-pc-windows-msvc x86 windows msvc
i586-unknown-linux-gnu x86 linux gnu
i586-unknown-linux-musl x86 linux musl
i686-linux-android x86 android
i686-pc-windows-gnullvm x86 windows gnu
i686-unknown-freebsd x86 freebsd
i686-unknown-linux-musl x86 linux musl
i686-unknown-uefi x86 uefi
loongarch64-unknown-linux-gnu loongarch64 linux gnu
loongarch64-unknown-linux-musl loongarch64 linux musl
loongarch64-unknown-none loongarch64 none
loongarch64-unknown-none-softfloat loongarch64 none
nvptx64-nvidia-cuda nvptx64 cuda
powerpc-unknown-linux-gnu powerpc linux gnu
powerpc64-unknown-linux-gnu powerpc64 linux gnu
powerpc64le-unknown-linux-gnu powerpc64 linux gnu
riscv32i-unknown-none-elf riscv32 none
riscv32im-unknown-none-elf riscv32 none
riscv32imac-unknown-none-elf riscv32 none
riscv32imafc-unknown-none-elf riscv32 none
riscv32imc-unknown-none-elf riscv32 none
riscv64gc-unknown-linux-gnu riscv64 linux gnu
riscv64gc-unknown-none-elf riscv64 none
riscv64imac-unknown-none-elf riscv64 none
s390x-unknown-linux-gnu s390x linux gnu
sparc64-unknown-linux-gnu sparc64 linux gnu
sparcv9-sun-solaris sparc64 solaris
thumbv6m-none-eabi arm none
thumbv7em-none-eabi arm none
thumbv7em-none-eabihf arm none
thumbv7m-none-eabi arm none
thumbv7neon-linux-androideabi arm android
thumbv7neon-unknown-linux-gnueabihf arm linux gnu
thumbv8m.base-none-eabi arm none
thumbv8m.main-none-eabi arm none
thumbv8m.main-none-eabihf arm none
wasm32-unknown-emscripten wasm32 emscripten
wasm32-unknown-unknown wasm32 unknown
wasm32-wasi wasm32 wasi p1
wasm32-wasip1 wasm32 wasi p1
wasm32-wasip1-threads wasm32 wasi p1
x86_64-apple-ios x86_64 ios
x86_64-fortanix-unknown-sgx x86_64 unknown sgx
x86_64-fuchsia x86_64 fuchsia
x86_64-linux-android x86_64 android
x86_64-pc-solaris x86_64 solaris
x86_64-pc-windows-gnullvm x86_64 windows gnu
x86_64-unknown-freebsd x86_64 freebsd
x86_64-unknown-fuchsia x86_64 fuchsia
x86_64-unknown-illumos x86_64 illumos
x86_64-unknown-linux-gnux32 x86_64 linux gnu
x86_64-unknown-linux-musl x86_64 linux musl
x86_64-unknown-linux-ohos x86_64 linux ohos
x86_64-unknown-netbsd x86_64 netbsd
x86_64-unknown-none x86_64 none
x86_64-unknown-redox x86_64 redox relibc
x86_64-unknown-uefi x86_64 uefi

三级

目标三元组 目标架构 目标操作系统 目标环境
aarch64-apple-ios-macabi aarch64 ios
aarch64-apple-tvos aarch64 tvos
aarch64-apple-tvos-sim aarch64 tvos
aarch64-apple-visionos aarch64 visionos
aarch64-apple-visionos-sim aarch64 visionos
aarch64-apple-watchos aarch64 watchos
aarch64-apple-watchos-sim aarch64 watchos
aarch64-kmc-solid_asp3 aarch64 solid_asp3
aarch64-nintendo-switch-freestanding aarch64 horizon
aarch64-unknown-freebsd aarch64 freebsd
aarch64-unknown-hermit aarch64 hermit
aarch64-unknown-illumos aarch64 illumos
aarch64-unknown-linux-gnu_ilp32 aarch64 linux gnu
aarch64-unknown-netbsd aarch64 netbsd
aarch64-unknown-nto-qnx710 aarch64 nto nto71
aarch64-unknown-openbsd aarch64 openbsd
aarch64-unknown-redox aarch64 redox relibc
aarch64-unknown-teeos aarch64 teeos
aarch64-uwp-windows-msvc aarch64 windows msvc
aarch64-wrs-vxworks aarch64 vxworks gnu
aarch64_be-unknown-linux-gnu aarch64 linux gnu
aarch64_be-unknown-linux-gnu_ilp32 aarch64 linux gnu
aarch64_be-unknown-netbsd aarch64 netbsd
arm64_32-apple-watchos aarch64 watchos
arm64e-apple-darwin aarch64 macos
arm64e-apple-ios aarch64 ios
armeb-unknown-linux-gnueabi arm linux gnu
armv4t-none-eabi arm none
armv4t-unknown-linux-gnueabi arm linux gnu
armv5te-none-eabi arm none
armv5te-unknown-linux-uclibceabi arm linux uclibc
armv6-unknown-freebsd arm freebsd gnu
armv6-unknown-netbsd-eabihf arm netbsd
armv6k-nintendo-3ds arm horizon newlib
armv7-sony-vita-newlibeabihf arm vita newlib
armv7-unknown-freebsd arm freebsd gnu
armv7-unknown-linux-uclibceabi arm linux uclibc
armv7-unknown-linux-uclibceabihf arm linux uclibc
armv7-unknown-netbsd-eabihf arm netbsd
armv7-wrs-vxworks-eabihf arm vxworks gnu
armv7a-kmc-solid_asp3-eabi arm solid_asp3
armv7a-kmc-solid_asp3-eabihf arm solid_asp3
armv7a-none-eabihf arm none
armv7k-apple-watchos arm watchos
armv7s-apple-ios arm ios
armv8r-none-eabihf arm none
avr-unknown-gnu-atmega328 avr none
bpfeb-unknown-none bpf none
bpfel-unknown-none bpf none
csky-unknown-linux-gnuabiv2 csky linux gnu
csky-unknown-linux-gnuabiv2hf csky linux gnu
hexagon-unknown-linux-musl hexagon linux musl
hexagon-unknown-none-elf hexagon none
i386-apple-ios x86 ios
i586-pc-nto-qnx700 x86 nto nto70
i586-unknown-netbsd x86 netbsd
i686-apple-darwin x86 macos
i686-unknown-haiku x86 haiku
i686-unknown-hurd-gnu x86 hurd gnu
i686-unknown-netbsd x86 netbsd
i686-unknown-openbsd x86 openbsd
i686-unknown-redox x86 redox relibc
i686-uwp-windows-gnu x86 windows gnu
i686-uwp-windows-msvc x86 windows msvc
i686-win7-windows-msvc x86 windows msvc
i686-wrs-vxworks x86 vxworks gnu
m68k-unknown-linux-gnu m68k linux gnu
mips-unknown-linux-gnu mips linux gnu
mips-unknown-linux-musl mips linux musl
mips-unknown-linux-uclibc mips linux uclibc
mips64-openwrt-linux-musl mips64 linux musl
mips64-unknown-linux-gnuabi64 mips64 linux gnu
mips64-unknown-linux-muslabi64 mips64 linux musl
mips64el-unknown-linux-gnuabi64 mips64 linux gnu
mips64el-unknown-linux-muslabi64 mips64 linux musl
mipsel-sony-psp mips psp
mipsel-sony-psx mips none psx
mipsel-unknown-linux-gnu mips linux gnu
mipsel-unknown-linux-musl mips linux musl
mipsel-unknown-linux-uclibc mips linux uclibc
mipsel-unknown-netbsd mips netbsd
mipsel-unknown-none mips none
mipsisa32r6-unknown-linux-gnu mips32r6 linux gnu
mipsisa32r6el-unknown-linux-gnu mips32r6 linux gnu
mipsisa64r6-unknown-linux-gnuabi64 mips64r6 linux gnu
mipsisa64r6el-unknown-linux-gnuabi64 mips64r6 linux gnu
msp430-none-elf msp430 none
powerpc-unknown-freebsd powerpc freebsd
powerpc-unknown-linux-gnuspe powerpc linux gnu
powerpc-unknown-linux-musl powerpc linux musl
powerpc-unknown-netbsd powerpc netbsd
powerpc-unknown-openbsd powerpc openbsd
powerpc-wrs-vxworks powerpc vxworks gnu
powerpc-wrs-vxworks-spe powerpc vxworks gnu
powerpc64-ibm-aix powerpc64 aix
powerpc64-unknown-freebsd powerpc64 freebsd
powerpc64-unknown-linux-musl powerpc64 linux musl
powerpc64-unknown-openbsd powerpc64 openbsd
powerpc64-wrs-vxworks powerpc64 vxworks gnu
powerpc64le-unknown-freebsd powerpc64 freebsd
powerpc64le-unknown-linux-musl powerpc64 linux musl
riscv32gc-unknown-linux-gnu riscv32 linux gnu
riscv32gc-unknown-linux-musl riscv32 linux musl
riscv32im-risc0-zkvm-elf riscv32 zkvm
riscv32ima-unknown-none-elf riscv32 none
riscv32imac-esp-espidf riscv32 espidf newlib
riscv32imac-unknown-xous-elf riscv32 xous
riscv32imafc-esp-espidf riscv32 espidf newlib
riscv32imc-esp-espidf riscv32 espidf newlib
riscv64-linux-android riscv64 android
riscv64gc-unknown-freebsd riscv64 freebsd
riscv64gc-unknown-fuchsia riscv64 fuchsia
riscv64gc-unknown-hermit riscv64 hermit
riscv64gc-unknown-linux-musl riscv64 linux musl
riscv64gc-unknown-netbsd riscv64 netbsd
riscv64gc-unknown-openbsd riscv64 openbsd
s390x-unknown-linux-musl s390x linux musl
sparc-unknown-linux-gnu sparc linux gnu
sparc-unknown-none-elf sparc none
sparc64-unknown-netbsd sparc64 netbsd
sparc64-unknown-openbsd sparc64 openbsd
thumbv4t-none-eabi arm none
thumbv5te-none-eabi arm none
thumbv7a-pc-windows-msvc arm windows msvc
thumbv7a-uwp-windows-msvc arm windows msvc
thumbv7neon-unknown-linux-musleabihf arm linux musl
wasm32-wasip2 wasm32 wasi p2
wasm64-unknown-unknown wasm64 unknown
x86_64-apple-ios-macabi x86_64 ios
x86_64-apple-tvos x86_64 tvos
x86_64-apple-watchos-sim x86_64 watchos
x86_64-pc-nto-qnx710 x86_64 nto nto71
x86_64-unikraft-linux-musl x86_64 linux musl
x86_64-unknown-dragonfly x86_64 dragonfly
x86_64-unknown-haiku x86_64 haiku
x86_64-unknown-hermit x86_64 hermit
x86_64-unknown-l4re-uclibc x86_64 l4re uclibc
x86_64-unknown-linux-none x86_64 linux
x86_64-unknown-openbsd x86_64 openbsd
x86_64-uwp-windows-gnu x86_64 windows gnu
x86_64-uwp-windows-msvc x86_64 windows msvc
x86_64-win7-windows-msvc x86_64 windows msvc
x86_64-wrs-vxworks x86_64 vxworks gnu
x86_64h-apple-darwin x86_64 macos
xtensa-esp32-espidf xtensa espidf newlib
xtensa-esp32-none-elf xtensa none
xtensa-esp32s2-espidf xtensa espidf newlib
xtensa-esp32s2-none-elf xtensa none
xtensa-esp32s3-espidf xtensa espidf newlib
xtensa-esp32s3-none-elf xtensa none

依赖项

~170KB