1 use crate::cdsl::{isa::TargetIsa, settings::SettingGroupBuilder};
2 
define() -> TargetIsa3 pub(crate) fn define() -> TargetIsa {
4     let mut settings = SettingGroupBuilder::new("pulley");
5     settings.add_enum(
6         "pointer_width",
7         "The width of pointers for this Pulley target",
8         "Supported values:\n\
9          * 'pointer32'\n\
10          * 'pointer64'\n",
11         vec!["pointer32", "pointer64"],
12     );
13     settings.add_bool(
14         "big_endian",
15         "Whether this is a big-endian target",
16         "Whether this is a big-endian target",
17         false,
18     );
19     TargetIsa::new("pulley", settings.build())
20 }
21