pub fn Type(comptime tag: Tag) type
pub fn Type(comptime tag: Tag) type { return switch (tag) { .check_file => CheckFile, .compile => Compile, .config_header => ConfigHeader, .fail => Fail, .find_program => FindProgram, .fmt => Fmt, .install_artifact => InstallArtifact, .install_dir => InstallDir, .install_file => InstallFile, .obj_copy => ObjCopy, .options => Options, .run => Run, .top_level => TopLevel, .translate_c => TranslateC, .update_source_files => UpdateSourceFiles, .write_file => WriteFile, }; }