summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/spec/solid_base.rs
blob: c585a6cd58ea20885a84d1d719a5de3d0a78e774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::FramePointer;
use crate::spec::TargetOptions;

pub fn opts(kernel: &str) -> TargetOptions {
    TargetOptions {
        os: format!("solid_{}", kernel).into(),
        vendor: "kmc".into(),
        executables: false,
        frame_pointer: FramePointer::NonLeaf,
        has_thread_local: true,
        ..Default::default()
    }
}