]>
Commit | Line | Data |
---|---|---|
5099ac24 | 1 | use crate::spec::{PanicStrategy, Target}; |
3b2f2976 | 2 | |
29967ef6 | 3 | pub fn target() -> Target { |
0531ce1d | 4 | let mut base = super::l4re_base::opts(); |
5e7ed085 | 5 | base.cpu = "x86-64".into(); |
3b2f2976 | 6 | base.max_atomic_width = Some(64); |
5099ac24 | 7 | base.panic_strategy = PanicStrategy::Abort; |
3b2f2976 | 8 | |
29967ef6 | 9 | Target { |
5e7ed085 | 10 | llvm_target: "x86_64-unknown-l4re-uclibc".into(), |
29967ef6 | 11 | pointer_width: 64, |
dfeec247 | 12 | data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" |
5e7ed085 FG |
13 | .into(), |
14 | arch: "x86_64".into(), | |
3b2f2976 | 15 | options: base, |
29967ef6 | 16 | } |
3b2f2976 | 17 | } |