cranelift_codegen_meta/cdsl/
isa.rs

1
2
3
4
5
6
7
8
9
10
11
12
use crate::cdsl::settings::SettingGroup;

pub(crate) struct TargetIsa {
    pub name: &'static str,
    pub settings: SettingGroup,
}

impl TargetIsa {
    pub fn new(name: &'static str, settings: SettingGroup) -> Self {
        Self { name, settings }
    }
}