]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/bpfel_unknown_none.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / compiler / rustc_target / src / spec / bpfel_unknown_none.rs
1 use crate::spec::Target;
2 use crate::{abi::Endian, spec::bpf_base};
3
4 pub fn target() -> Target {
5     Target {
6         llvm_target: "bpfel".to_string(),
7         data_layout: "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128".to_string(),
8         pointer_width: 64,
9         arch: "bpf".to_string(),
10         options: bpf_base::opts(Endian::Little),
11     }
12 }