- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 80 for cgoexp (0.12 sec)
-
src/cmd/go/testdata/script/test_cache_inputs.txt
# We're testing cache behavior, so start with a clean GOCACHE. env GOCACHE=$WORK/cache # Build a helper binary to invoke os.Chtimes. go build -o mkold$GOEXE mkold.go # Make test input files appear to be a minute old. exec ./mkold$GOEXE 1m testcache/file.txt exec ./mkold$GOEXE 1m testcache/script.sh # If the test reads an environment variable, changes to that variable # should invalidate cached test results. env TESTKEY=x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 22:23:53 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cd_gopath_different.txt
go build run_go.go # Apply identity function to GOPATH exec ./run_go$GOEXE $GOPATH/src/my.pkg/main $GOPATH IDENTITY build -o $WORK/tmp/a.exe -ldflags -X=my.pkg.Text=linkXworked exec $WORK/tmp/a.exe stderr 'linkXworked' rm $WORK/tmp/a.exe [!GOOS:windows] stop 'rest of the tests only apply to Windows' # Replace '\' with '/' in GOPATH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_replace.txt
go get example.com/printversion@v0.1.0 go install example.com/printversion go run example.com/printversion cmp stdout out.txt go version -m $GOPATH/bin/printversion$GOEXE stdout '^.*[/\\]bin[/\\]printversion'$GOEXE': .*$' stdout '^ path example.com/printversion$' stdout '^ mod example.com/printversion v0.1.0$' stdout '^ => example.com/printversion v1.0.0 h1:.*$' stdout '^ dep example.com/version v1.0.0$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 989 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_install_pkg_version.txt
stderr '^go: example.com/cmd@v1.1.0-doesnotexist: missing go.sum entry for go.mod file; to add it:\n\tgo mod download example.com/cmd$' go install example.com/cmd/a@latest cmp go.mod go.mod.orig exists $GOPATH/bin/a$GOEXE go version -m $GOPATH/bin/a$GOEXE stdout '^\tmod\texample.com/cmd\tv1.0.0\t' # "latest", not from go.mod rm $GOPATH/bin/a cd .. # 'go install -modfile=x.mod pkg@version' reports an error, but only if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 17:25:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_compile_tempfile.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 271 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_link_x_import_path_escape.txt
[compiler:gccgo] skip 'gccgo does not support -ldflags -X' go build -o linkx$GOEXE -ldflags -X=my.pkg.Text=linkXworked my.pkg/main exec ./linkx$GOEXE stderr '^linkXworked$' -- go.mod -- module my.pkg go 1.16 -- main/main.go -- package main import "my.pkg" func main() { println(pkg.Text) } -- pkg.go -- package pkg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 341 bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
} return false, nil } func hasGoexperiment(s *script.State, value string) (bool, error) { GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH") goexp, _ := s.LookupEnv("GOEXPERIMENT") flags, err := buildcfg.ParseGOEXPERIMENT(GOOS, GOARCH, goexp) if err != nil { return false, err } for _, exp := range flags.All() { if value == exp { return true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_modinfo.txt
go mod tidy # populate go.sum # Build a binary and ensure that it can output its own debug info. # The debug info should be accessible before main starts (golang.org/issue/29628). go build exec ./x$GOEXE stderr 'mod\s+x\s+\(devel\)' stderr 'dep\s+rsc.io/quote\s+v1.5.2\s+' stderr '=>\s+rsc.io/quote\s+v1.0.0\s+h1:' stderr 'Hello, world.' [short] skip
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 1.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_gomodcache_vendor.txt
# with vendored files. # See issue #46400 [short] skip 'builds and links a binary twice' go mod tidy go mod vendor go build -mod=vendor go version -m example$GOEXE cp stdout version-m.txt env GOMODCACHE=$WORK${/}modcache go build -mod=vendor go version -m example$GOEXE cmp stdout version-m.txt -- go.mod -- module example go 1.22 require rsc.io/sampler v1.3.0 -- main.go -- package main import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 17:19:18 UTC 2024 - 568 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_link.txt
go build -o $devnull -x main.go ! stderr '(compile|gccgo)( |\.exe).*main\.go' stderr '(link|gccgo)( |\.exe)' # ... but the output binary can serve as a cache. go build -o main$GOEXE -x main.go stderr '(link|gccgo)( |\.exe)' go build -o main$GOEXE -x main.go ! stderr '(link|gccgo)( |\.exe)' -- main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 21:00:48 UTC 2019 - 644 bytes - Viewed (0)