summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/bpfel_unknown_none.rs
blob: 6c9afdf35aef47d1a8e0f11300dc19fd5a46ad48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use crate::spec::Target;
use crate::{abi::Endian, spec::bpf_base};

pub fn target() -> Target {
    Target {
        llvm_target: "bpfel".to_string(),
        data_layout: "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128".to_string(),
        pointer_width: 64,
        arch: "bpf".to_string(),
        options: bpf_base::opts(Endian::Little),
    }
}