- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ExitIfErrors (0.11 sec)
-
src/cmd/go/internal/modload/load.go
if ld.Switcher != nil { ld.Switcher.Switch(ctx) } } // exitIfErrors switches toolchains if a switch is needed // or else exits if any errors have been reported. func (ld *loader) exitIfErrors(ctx context.Context) { ld.switchIfErrors(ctx) base.ExitIfErrors() } // goVersion reports the Go version that should be used for the loader's
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
// implicit @upgrade. path@none is "downgrade away". func parseArgs(ctx context.Context, rawArgs []string) (dropToolchain bool, queries []*query) { defer base.ExitIfErrors() for _, arg := range search.CleanPatterns(rawArgs) { q, err := newQuery(arg) if err != nil { base.Error(err) continue } if q.version == "none" { switch q.pattern {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
Exitf("mapping output file failed: %v", err) } } // asmb will redirect symbols to the output file mmap, and relocations // will be applied directly there. bench.Start("Asmb") asmb(ctxt) exitIfErrors() // Generate additional symbols for the native symbol table just prior // to code generation. bench.Start("GenSymsLate") if thearch.GenSymsLate != nil { thearch.GenSymsLate(ctxt, ctxt.loader) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
default: Errorf(nil, "unknown *flagEntrySymbol for buildmode %v", ctxt.BuildMode) } } } func exitIfErrors() { if nerrors != 0 || checkStrictDups > 1 && strictDupMsgCount > 0 { mayberemoveoutfile() Exit(2) } } func errorexit() { exitIfErrors() Exit(0) } func loadinternal(ctxt *Link, name string) *sym.Library { zerofp := goobj.FingerprintType{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
anyIncomplete = true } } if anyIncomplete { all := PackageList(pkgs) for _, p := range all { if p.Error != nil { base.Errorf("%v", p.Error) } } } base.ExitIfErrors() // Check for duplicate loads of the same package. // That should be impossible, but if it does happen then // we end up trying to build the same package twice,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
buf.WriteString(pkg.ImportPath) buf.WriteString("\n") } base.Errorf("cannot write test binary %s for multiple packages:\n%s", testBinary, buf.String()) } } base.ExitIfErrors() } initCoverProfile() defer closeCoverProfile() // If a test timeout is finite, set our kill timeout // to that timeout plus one minute. This is a backup alarm in case
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0)