2020-11-30 19:41:57 +00:00
|
|
|
use crate::spec::Target;
|
|
|
|
|
use crate::{abi::Endian, spec::bpf_base};
|
|
|
|
|
|
|
|
|
|
pub fn target() -> Target {
|
|
|
|
|
Target {
|
|
|
|
|
llvm_target: "bpfeb".to_string(),
|
|
|
|
|
data_layout: "E-m:e-p:64:64-i64:64-i128:128-n32:64-S128".to_string(),
|
|
|
|
|
pointer_width: 64,
|
2021-04-20 19:03:10 +10:00
|
|
|
arch: "bpf".to_string(),
|
2020-11-30 19:41:57 +00:00
|
|
|
options: bpf_base::opts(Endian::Big),
|
|
|
|
|
}
|
|
|
|
|
}
|