Skip to main content

rustc_target/spec/targets/
i686_oe_linux_gnu.rs

1use crate::spec::{Target, TargetMetadata};
2
3pub(crate) fn target() -> Target {
4    let mut base = super::i686_unknown_linux_gnu::target();
5
6    base.metadata = TargetMetadata {
7        description: Some("32-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 = "i686-oe-linux-gnu".into();
14
15    base.options.linker = Some("i686-oe-linux-gcc".into());
16
17    base.options.cpu = "core2".into();
18    base.options.features = "+sse3".into();
19
20    base
21}