Enum repc_impl::target::Target [−][src]
The target of a C compiler.
The names used here are the names used by LLVM and Clang. GCC uses the same target
names except that x86_64-pc-windows-gnu
is called x86_64-w64-mingw64
and
i686-pc-windows-gnu
is called i686-w64-mingw32
.
Each target documents its system compiler. The system compiler of a target is its
native compiler. For the *-windows-gnu
targets this is GCC. For all other *-windows*
targets it is MSVC. For most *-linux-*
targets it is GCC. For most other targets
it is Clang.
The notion of a target's system compiler matters because compilers generate slightly different layouts even on the same target.
Variants (Non-exhaustive)
The aarch64-apple-macosx
target.
The system compiler of this target is Clang.
The aarch64-fuchsia
target.
The system compiler of this target is Clang.
The aarch64-linux-android
target.
The system compiler of this target is Clang.
The aarch64-pc-windows-msvc
target.
The system compiler of this target is MSVC.
The aarch64-unknown-freebsd
target.
The system compiler of this target is Clang.
The aarch64-unknown-hermit
target.
The system compiler of this target is Clang.
The aarch64-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The aarch64-unknown-linux-musl
target.
The system compiler of this target is GCC.
The aarch64-unknown-netbsd
target.
The system compiler of this target is Clang.
The aarch64-unknown-none
target.
The system compiler of this target is Clang.
The aarch64-unknown-openbsd
target.
The system compiler of this target is Clang.
The aarch64-unknown-redox
target.
The system compiler of this target is Clang.
The arm64-apple-ios
target.
The system compiler of this target is Clang.
The arm64-apple-ios-macabi
target.
The system compiler of this target is Clang.
The arm64-apple-tvos
target.
The system compiler of this target is Clang.
The armebv7r-unknown-none-eabi
target.
The system compiler of this target is Clang.
The armebv7r-unknown-none-eabihf
target.
The system compiler of this target is Clang.
The arm-linux-androideabi
target.
The system compiler of this target is Clang.
The arm-unknown-linux-gnueabi
target.
The system compiler of this target is GCC.
The arm-unknown-linux-gnueabihf
target.
The system compiler of this target is GCC.
The armv4t-unknown-linux-gnueabi
target.
The system compiler of this target is GCC.
The armv5te-unknown-linux-gnueabi
target.
The system compiler of this target is GCC.
The armv5te-unknown-linux-uclibcgnueabi
target.
The system compiler of this target is GCC.
The armv6-unknown-freebsd-gnueabihf
target.
The system compiler of this target is Clang.
The armv6-unknown-netbsdelf-eabihf
target.
The system compiler of this target is Clang.
The armv7a-none-eabi
target.
The system compiler of this target is Clang.
The armv7a-none-eabihf
target.
The system compiler of this target is Clang.
The armv7-apple-ios
target.
The system compiler of this target is Clang.
The armv7-none-linux-android
target.
The system compiler of this target is Clang.
The armv7r-unknown-none-eabi
target.
The system compiler of this target is Clang.
The armv7r-unknown-none-eabihf
target.
The system compiler of this target is Clang.
The armv7s-apple-ios
target.
The system compiler of this target is Clang.
The armv7-unknown-freebsd-gnueabihf
target.
The system compiler of this target is Clang.
The armv7-unknown-linux-gnueabi
target.
The system compiler of this target is GCC.
The armv7-unknown-linux-gnueabihf
target.
The system compiler of this target is GCC.
The armv7-unknown-netbsdelf-eabihf
target.
The system compiler of this target is Clang.
The avr-unknown-unknown
target.
The system compiler of this target is GCC.
The hexagon-unknown-linux-musl
target.
The system compiler of this target is Clang.
The i386-apple-ios
target.
The system compiler of this target is Clang.
The i586-pc-windows-msvc
target.
The system compiler of this target is MSVC.
The i586-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The i586-unknown-linux-musl
target.
The system compiler of this target is GCC.
The i686-apple-macosx
target.
The system compiler of this target is Clang.
The i686-linux-android
target.
The system compiler of this target is Clang.
The i686-pc-windows-gnu
target.
The system compiler of this target is GCC.
The i686-pc-windows-msvc
target.
The system compiler of this target is MSVC.
The i686-unknown-freebsd
target.
The system compiler of this target is Clang.
The i686-unknown-haiku
target.
The system compiler of this target is Clang.
The i686-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The i686-unknown-linux-musl
target.
The system compiler of this target is GCC.
The i686-unknown-netbsdelf
target.
The system compiler of this target is Clang.
The i686-unknown-openbsd
target.
The system compiler of this target is Clang.
The i686-unknown-windows
target.
The system compiler of this target is MSVC.
The mips64el-unknown-linux-gnuabi64
target.
The system compiler of this target is GCC.
The mips64el-unknown-linux-musl
target.
The system compiler of this target is GCC.
The mips64-unknown-linux-gnuabi64
target.
The system compiler of this target is GCC.
The mips64-unknown-linux-musl
target.
The system compiler of this target is GCC.
The mipsel-sony-psp
target.
The system compiler of this target is Clang.
The mipsel-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The mipsel-unknown-linux-musl
target.
The system compiler of this target is GCC.
The mipsel-unknown-linux-uclibc
target.
The system compiler of this target is GCC.
The mipsel-unknown-none
target.
The system compiler of this target is Clang.
The mipsisa32r6el-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The mipsisa32r6-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The mipsisa64r6el-unknown-linux-gnuabi64
target.
The system compiler of this target is GCC.
The mipsisa64r6-unknown-linux-gnuabi64
target.
The system compiler of this target is GCC.
The mips-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The mips-unknown-linux-musl
target.
The system compiler of this target is GCC.
The mips-unknown-linux-uclibc
target.
The system compiler of this target is GCC.
The msp430-none-elf
target.
The system compiler of this target is Clang.
The powerpc64le-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The powerpc64le-unknown-linux-musl
target.
The system compiler of this target is GCC.
The powerpc64-unknown-freebsd
target.
The system compiler of this target is Clang.
The powerpc64-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The powerpc64-unknown-linux-musl
target.
The system compiler of this target is GCC.
The powerpc-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The powerpc-unknown-linux-gnuspe
target.
The system compiler of this target is Clang.
The powerpc-unknown-linux-musl
target.
The system compiler of this target is GCC.
The powerpc-unknown-netbsd
target.
The system compiler of this target is Clang.
The riscv32
target.
The system compiler of this target is Clang.
The riscv32-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The riscv64
target.
The system compiler of this target is Clang.
The riscv64-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The s390x-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The sparc64-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The sparc64-unknown-netbsd
target.
The system compiler of this target is Clang.
The sparc64-unknown-openbsd
target.
The system compiler of this target is Clang.
The sparc-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The sparcv9-sun-solaris
target.
The system compiler of this target is Clang.
The thumbv4t-none-eabi
target.
The system compiler of this target is Clang.
The thumbv6m-none-eabi
target.
The system compiler of this target is Clang.
The thumbv7a-pc-windows-msvc
target.
The system compiler of this target is MSVC.
The thumbv7em-none-eabihf
target.
The system compiler of this target is Clang.
The thumbv7em-none-eabi
target.
The system compiler of this target is Clang.
The thumbv7m-none-eabi
target.
The system compiler of this target is Clang.
The thumbv8m.base-none-eabi
target.
The system compiler of this target is Clang.
The thumbv8m.main-none-eabihf
target.
The system compiler of this target is Clang.
The thumbv8m.main-none-eabi
target.
The system compiler of this target is Clang.
The wasm32-unknown-emscripten
target.
The system compiler of this target is Clang.
The wasm32-unknown-unknown
target.
The system compiler of this target is Clang.
The wasm32-wasi
target.
The system compiler of this target is Clang.
The x86_64-apple-ios-macabi
target.
The system compiler of this target is Clang.
The x86_64-apple-ios
target.
The system compiler of this target is Clang.
The x86_64-apple-macosx
target.
The system compiler of this target is Clang.
The x86_64-apple-tvos
target.
The system compiler of this target is Clang.
The x86_64-elf
target.
The system compiler of this target is Clang.
The x86_64-fuchsia
target.
The system compiler of this target is Clang.
The x86_64-linux-android
target.
The system compiler of this target is Clang.
The x86_64-pc-solaris
target.
The system compiler of this target is Clang.
The x86_64-pc-windows-gnu
target.
The system compiler of this target is GCC.
The x86_64-pc-windows-msvc
target.
The system compiler of this target is MSVC.
The x86_64-rumprun-netbsd
target.
The system compiler of this target is Clang.
The x86_64-unknown-dragonfly
target.
The system compiler of this target is Clang.
The x86_64-unknown-freebsd
target.
The system compiler of this target is Clang.
The x86_64-unknown-haiku
target.
The system compiler of this target is Clang.
The x86_64-unknown-hermit
target.
The system compiler of this target is Clang.
The x86_64-unknown-l4re-uclibc
target.
The system compiler of this target is Clang.
The x86_64-unknown-linux-gnux32
target.
The system compiler of this target is GCC.
The x86_64-unknown-linux-gnu
target.
The system compiler of this target is GCC.
The x86_64-unknown-linux-musl
target.
The system compiler of this target is GCC.
The x86_64-unknown-netbsd
target.
The system compiler of this target is Clang.
The x86_64-unknown-openbsd
target.
The system compiler of this target is Clang.
The x86_64-unknown-redox
target.
The system compiler of this target is Clang.
The x86_64-unknown-windows
target.
The system compiler of this target is MSVC.
Implementations
impl Target
[src]
Trait Implementations
impl Clone for Target
[src]
impl Copy for Target
[src]
impl Debug for Target
[src]
impl Eq for Target
[src]
impl PartialEq<Target> for Target
[src]
impl StructuralEq for Target
[src]
impl StructuralPartialEq for Target
[src]
Auto Trait Implementations
impl RefUnwindSafe for Target
[src]
impl Send for Target
[src]
impl Sync for Target
[src]
impl Unpin for Target
[src]
impl UnwindSafe for Target
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,