Hi! Is there an equivalent in Zig of the following C idiom? Or how could I accomplish something like this?
gdt_entry gdt[32] = {
[0] = (gdt_entry) {
.limit_0_15 = 0x00,
.limit_16_19 = 0x00,
},
[15] = (gdt_entry) {
.limit_0_15 = 0xF400,
.limit_16_19 = 0x1,
},
};
So basically declaring a constant array with certain but not contiguous values initialized.
I could not find anything in the docs about this.