- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for CompiledGoFiles (0.41 sec)
-
src/cmd/go/testdata/script/list_swigcxx.txt
# go list should not report SWIG-generated C++ files in CompiledGoFiles. [!exec:swig] skip [!exec:g++] skip [!cgo] skip # CompiledGoFiles should contain 4 files: # a.go # _cgo_import.go [gc only] # _cgo_gotypes.go # a.cgo1.go # # These names we see here, other than a.go, will be from the build cache, # so we just count them. go list -f '{{.CompiledGoFiles}}' -compiled=true example/swig stdout a\.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 04:04:13 UTC 2024 - 581 bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
The -compiled flag causes list to set CompiledGoFiles to the Go source files presented to the compiler. Typically this means that it repeats the files listed in GoFiles and then also adds the Go code generated by processing CgoFiles and SwigFiles. The Imports list contains the union of all imports from both GoFiles and CompiledGoFiles. The -deps flag causes list to iterate over not just the named packages
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/go/go_test.go
t.Fatalf(".CgoFiles unexpectedly mentioned cache %s", tg.tempdir) } tg.run("list", "-compiled", "-f", `{{.Dir}}{{"\n"}}{{join .CompiledGoFiles "\n"}}`, "net") if !strings.Contains(tg.stdout.String(), tg.tempdir) { t.Fatalf(".CompiledGoFiles with -compiled did not mention cache %s", tg.tempdir) } dir := "" for _, file := range strings.Split(tg.stdout.String(), "\n") { if file == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
NeedError bool // list needs p.Error NeedExport bool // list needs p.Export NeedCompiledGoFiles bool // list needs p.CompiledGoFiles AllowErrors bool // errors don't immediately exit the program objdirSeq int // counter for NewObjdir pkgSeq int backgroundSh *Shell // Shell that per-Action Shells are derived from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
GoFiles []string `json:",omitempty"` // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles) CgoFiles []string `json:",omitempty"` // .go source files that import "C" CompiledGoFiles []string `json:",omitempty"` // .go output from running cgo on CgoFiles IgnoredGoFiles []string `json:",omitempty"` // .go source files ignored due to build constraints
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/alldocs.go
// // The -compiled flag causes list to set CompiledGoFiles to the Go source // files presented to the compiler. Typically this means that it repeats // the files listed in GoFiles and then also adds the Go code generated // by processing CgoFiles and SwigFiles. The Imports list contains the // union of all imports from both GoFiles and CompiledGoFiles. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
continue } file, err := b.findCachedObjdirFile(a, c, name) if err != nil { return fmt.Errorf("finding %s: %w", name, err) } gofiles = append(gofiles, file) } a.Package.CompiledGoFiles = gofiles return nil } // vetConfig is the configuration passed to vet describing a single package. type vetConfig struct { ID string // package ID (example: "fmt [fmt.test]")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0)