Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for cgoexp (0.11 sec)

  1. 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)
  2. src/cmd/go/testdata/script/version.txt

    env GOFLAGS='-m -v'
    go version
    stdout '^go version'
    env GOFLAGS=
    
    env GO111MODULE=on
    
    # Check that very basic version lookup succeeds.
    go build empty.go
    go version empty$GOEXE
    [cgo] go build -ldflags=-linkmode=external empty.go
    [cgo] go version empty$GOEXE
    
    # Skip the remaining builds if we are running in short mode.
    [short] skip
    
    # Check that 'go version' and 'go version -m' work on a binary built in module mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    		fmt.Fprintf(fgo2, "//go:linkname _cgoexp%s_%s _cgoexp%s_%s\n", cPrefix, exp.ExpName, cPrefix, exp.ExpName)
    		// In external linking mode, the Go linker sees the Go
    		// wrapper, but not the C wrapper. For this case,
    		// export the Go wrapper so the host linker can
    		// resolve the reference from the C wrapper to the Go
    		// wrapper.
    		fmt.Fprintf(fgo2, "//go:cgo_export_static _cgoexp%s_%s\n", cPrefix, exp.ExpName)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    env GOCACHE=$WORK/gocache
    exec ./fuzz.test$GOEXE -test.fuzzcachedir=$GOCACHE/fuzz -test.fuzz=FuzzMinCache -test.fuzztime=1000x
    go run check_cache/check_cache.go $GOCACHE/fuzz/FuzzMinCache
    
    # Test that minimization occurs for a crash that appears while minimizing a
    # newly found interesting input. There must be only one worker for this test to
    # be flaky like we want.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    # as a control case (to ensure that our regexps do catch rebuilds).
    
    [!short] env GOCACHE=$WORK/cache
    [!short] env CGO_CFLAGS=-DTestScript_cgo_stale_precompiled=true
    go build -x runtime/cgo
    [!short] stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    
    # https://go.dev/issue/47215: a missing $(go env CC) caused the precompiled net
    # to be stale. But as of https://go.dev/cl/452457 the precompiled libraries are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/internal/cfg/cfg.go

    	CGO_LDFLAGS
    	CGO_LDFLAGS_ALLOW
    	CGO_LDFLAGS_DISALLOW
    	CXX
    	FC
    	GCCGO
    	GO111MODULE
    	GO386
    	GOAMD64
    	GOARCH
    	GOARM
    	GOARM64
    	GOBIN
    	GOCACHE
    	GOCACHEPROG
    	GOENV
    	GOEXE
    	GOEXPERIMENT
    	GOFLAGS
    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/env_write.txt

    env GOPATH=$root/other
    go env -u GOPATH
    ! stderr .+
    go env -u GOPATH
    ! stderr .+
    
    # go env -w rejects unknown or bad variables
    ! go env -w GOGC=off
    stderr 'unknown go command variable GOGC'
    ! go env -w GOEXE=.bat
    stderr 'GOEXE cannot be modified'
    ! go env -w GOVERSION=customversion
    stderr 'GOVERSION cannot be modified'
    ! go env -w GOENV=/env
    stderr 'GOENV can only be set using the OS environment'
    ! go env -w GODEBUG=gctrace=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/runtime/race/output_test.go

      main\.main\(\)
          .*/main\.go:34 \+0x[0-9,a-f]+
    
    Previous write at 0x[0-9,a-f]+ by goroutine [0-9]:
      main\.goCallback\(\)
          .*/main\.go:27 \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          <autogenerated>:1 \+0x[0-9,a-f]+
    
    Goroutine [0-9] \(running\) created at:
      runtime\.newextram\(\)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/gotoolchain_path.txt

    [short] skip
    
    env TESTGO_VERSION=go1.21pre3
    
    # Compile a fake toolchain to put in the path under various names.
    env GOTOOLCHAIN=
    mkdir $WORK/bin
    go build -o $WORK/bin/go1.50.0$GOEXE ./fakego.go  # adds .exe extension implicitly on Windows
    
    [!GOOS:plan9] env PATH=$WORK/bin
    [GOOS:plan9] env path=$WORK/bin
    
    go version
    stdout go1.21pre3
    
    # GOTOOLCHAIN=go1.50.0
    env GOTOOLCHAIN=go1.50.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 22:21:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    go run ./which clang
    cp stdout $WORK/.realclang
    
    # Build a fake clang and ensure that it is the one in $PATH.
    mkdir $WORK/bin
    go build -o $WORK/bin/clang$GOEXE ./fakeclang
    [!GOOS:plan9] env PATH=$WORK${/}bin
    [GOOS:plan9] env path=$WORK${/}bin
    
    # Force CGO_ENABLED=1 so that the following commands should error
    # out if the fake clang doesn't work.
    env CGO_ENABLED=1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top