cranelift_codegen_meta/isa/
pulley.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::cdsl::{isa::TargetIsa, settings::SettingGroupBuilder};

pub(crate) fn define() -> TargetIsa {
    let mut settings = SettingGroupBuilder::new("pulley");
    settings.add_enum(
        "pointer_width",
        "The width of pointers for this Pulley target",
        "Supported values:\n\
         * 'pointer32'\n\
         * 'pointer64'\n",
        vec!["pointer32", "pointer64"],
    );
    TargetIsa::new("pulley", settings.build())
}