Skip to main content

rustc_target/spec/targets/
x86_64_oe_linux_gnu.rs

1use crate::spec::{Target, TargetMetadata};
2
3pub(crate) fn target() -> Target {
4    let mut base = super::x86_64_unknown_linux_gnu::target();
5
6    base.metadata = TargetMetadata {
7        description: Some("64-bit Linux (kernel 3.2+, glibc 2.17+) for yocto".into()),
8        tier: Some(3),
9        host_tools: Some(false),
10        std: Some(true),
11    };
12
13    base.llvm_target = "x86_64-oe-linux-gnu".into();
14    base.options.linker = Some("x86_64-oe-linux-gcc".into());
15
16    base
17}