const VK_KHR_SWAPCHAIN_EXTENSION_NAME = "VK_KHR_swapchain";
const extensions = &.{VK_KHR_SWAPCHAIN_EXTENSION_NAME};
const String = [:0]const u8;
const Name = vk.String;
const List = []zvk.Device.extensions.Name;
fn runtimeCode () void {
const exts :zvk.Device.extensions.List= zvk.cfg.device.extensions;
}
error: expected type '[][:0]const u8', found '*const struct{comptime *const [16:0]u8 = "VK_KHR_swapchain"}'
How can I fix this type error?
What even is that struct{comptime ... } about?