diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 7343cfc51a4e2ae49503a9be5346f487cf3a963a..8ebaf14a52a9b39de20b691424382fbfc9357825 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -650,3 +650,12 @@ pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type { }, }); } + +pub fn Vector(comptime len: u32, comptime child: type) type { + return @Type(TypeInfo{ + .Vector = .{ + .len = len, + .child = child, + }, + }); +}