rustc_target/spec/base/
solid.rs

1
2
3
4
5
6
7
8
9
10
11
12
use crate::spec::{FramePointer, TargetOptions};

pub(crate) 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()
    }
}