On 4/22/25 07:54, Philippe Mathieu-Daudé wrote:
When we'll start to use target_machine_typename() to filter
machines for the ARM/Aarch64 binaries, the 'none' machine
will be filtered out. Register the proper interfaces to keep
it available.

Perhaps "would be filtered"?

@@ -62,6 +63,11 @@ static const TypeInfo null_machine_types[] = {
          .name           = MACHINE_TYPE_NAME("none"),
          .parent         = TYPE_MACHINE,
          .class_init     = null_machine_class_init,
+        .interfaces     = (InterfaceInfo[]) {
+            { TYPE_TARGET_ARM_MACHINE },
+            { TYPE_TARGET_AARCH64_MACHINE },
+            { },
+        },

I presume this list will continue to grow.
Perhaps sort alphabetically.


r~

Reply via email to