fn findNativeGccDirPosix(self: *LibCInstallation, gpa: Allocator, io: Io, args: FindNativeOptions) FindError!void self: *LibCInstallationgpa: Allocatorio: Ioargs: FindNativeOptionsOutOfMemoryFileSystemUnableToSpawnCCompilerCCompilerExitCodeCCompilerCrashedCCompilerCannotFindHeadersLibCRuntimeNotFoundLibCStdLibHeaderNotFoundLibCKernel32LibNotFoundUnsupportedArchitectureWindowsSdkNotFoundDarwinSdkNotFoundZigIsTheCCompiler469
470
471
472
473
474
475
476fn findNativeGccDirPosix(self: *LibCInstallation, gpa: Allocator, io: Io, args: FindNativeOptions) FindError!void {
self.gcc_dir = try ccPrintFileName(gpa, io, .{
.environ_map = args.environ_map,
.search_basename = "crtbeginS.o",
.want_dirname = .only_dir,
.verbose = args.verbose,
});
}