https://docs.rs/alexcrichton-cranelift-codegen-meta/latest/cranelift_codegen_meta/cdsl/settings/struct.SettingGroupBuilder.html#method.add_enum
add_bool
and add_num
have default value. If don't means use this Backend have to set this value every time??
https://github.com/bytecodealliance/wasmtime/issues/4994
setting.add_enum(
"float_abi",
"The default float ABI.",
"",
// looks first one is the default value.
// make `double` the default.
vec!["double", "soft", "single", "quad"],
);
yang yu has marked this topic as resolved.
Last updated: Dec 23 2024 at 13:07 UTC