Limit wasm build to xteink devices

This commit is contained in:
2026-07-19 21:57:52 -04:00
parent c4227568de
commit d1d3f6e360
2 changed files with 3 additions and 2 deletions
@@ -0,0 +1 @@
CONFIG_RISCV_ESP32C3=y
+2 -2
View File
@@ -219,7 +219,7 @@ static void count_cpreg(gpointer key, gpointer opaque)
} }
} }
static gint cpreg_key_compare(gconstpointer a, gconstpointer b, void* d) static gint cpreg_key_compare(gconstpointer a, gconstpointer b)
{ {
uint64_t aidx = cpreg_to_kvm_id((uintptr_t)a); uint64_t aidx = cpreg_to_kvm_id((uintptr_t)a);
uint64_t bidx = cpreg_to_kvm_id((uintptr_t)b); uint64_t bidx = cpreg_to_kvm_id((uintptr_t)b);
@@ -243,7 +243,7 @@ void init_cpreg_list(ARMCPU *cpu)
int arraylen; int arraylen;
keys = g_hash_table_get_keys(cpu->cp_regs); keys = g_hash_table_get_keys(cpu->cp_regs);
keys = g_list_sort(keys, (GCompareFunc)cpreg_key_compare); keys = g_list_sort(keys, cpreg_key_compare);
cpu->cpreg_array_len = 0; cpu->cpreg_array_len = 0;