- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 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/testdata/script/list_compiled_files_issue28749.txt
go list -compiled -f {{.CompiledGoFiles}} . ! stdout 'foo.s' -- go.mod -- module example.com/foo go 1.20 -- foo.go -- package foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 21:12:24 UTC 2022 - 144 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt
# Regression test for https://golang.org/issue/46462. # # The "runtime/cgo" import found in synthesized .go files (reported in # the CompiledGoFiles field) should have a corresponding entry in the # ImportMap field when a runtime/cgo variant (such as a test variant) # will be used. [short] skip # -compiled can be slow (because it compiles things) [!cgo] skip [GOOS:darwin] skip # net package does not import "C" on Darwin
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 22:26:09 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_overlay.txt
"strings" ) func main() { compiledGoFilesArg := os.Args[1] b, err := ioutil.ReadFile(compiledGoFilesArg) if err != nil { log.Fatal(err) } compiledGoFiles := strings.Split(strings.TrimSpace(string(b)), "\n") for _, f := range compiledGoFiles { b, err := ioutil.ReadFile(f) if err != nil { log.Fatal(err) } for _, line := range strings.Split(string(b), "\n") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 29 00:40:18 UTC 2022 - 7.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cwd_newline.txt
[cgo] ! go test -v main.go main_test.go [!cgo] ! go test -v main_nocgo.go main_test.go stderr 'package command-line-arguments: invalid package directory .*uh-oh' go list -compiled -e -f '{{with .CompiledGoFiles}}{{.}}{{end}}' . ! stdout . ! stderr . ! exists obj_ # The cgo tool should only accept the source file if the working directory # is not written in line directives in the resulting files.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 3.4K bytes - Viewed (0)