Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for goGcflags (0.14 sec)

  1. src/cmd/go/internal/help/helpdoc.go

    		from appearing in #cgo CFLAGS source code directives.
    		Does not apply to the CGO_CFLAGS environment variable.
    	CGO_CPPFLAGS, CGO_CPPFLAGS_ALLOW, CGO_CPPFLAGS_DISALLOW
    		Like CGO_CFLAGS, CGO_CFLAGS_ALLOW, and CGO_CFLAGS_DISALLOW,
    		but for the C preprocessor.
    	CGO_CXXFLAGS, CGO_CXXFLAGS_ALLOW, CGO_CXXFLAGS_DISALLOW
    		Like CGO_CFLAGS, CGO_CFLAGS_ALLOW, and CGO_CFLAGS_DISALLOW,
    		but for the C++ compiler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/version.txt

    go version empty.so
    stderr 'could not read Go build info'
    go version empty.dll
    stderr 'could not read Go build info'
    
    # Neither of the two flags above should be an issue via GOFLAGS.
    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
    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. hack/pin-dependency.sh

      kube::log::error "Cannot run with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    kube::util::require-jq
    
    # Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
    export GOWORK=off
    export GOFLAGS=-mod=mod
    
    dep="${1:-}"
    sha="${2:-}"
    
    # Specifying a different repo is optional.
    replacement=
    case ${dep} in
        *=*)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout(".", "default CGO_CFLAGS unexpectedly empty")
    
    	tg.setenv("CGO_CFLAGS", "-foobar")
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout("^-foobar$", "CGO_CFLAGS not honored")
    
    	tg.setenv("CC", "gcc -fmust -fgo -ffaster")
    	tg.run("env", "CC")
    	tg.grepStdout("gcc", "CC not found")
    	tg.run("env", "GOGCCFLAGS")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    [!short] cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    [!short] go clean -modcache
    
    
    # The flag should also be applied if given in GOFLAGS
    # instead of on the command line.
    env GOFLAGS=-modcacherw
    ! go install -cake=delicious example.com/printversion@v0.1.0
    stderr '^flag provided but not defined: -cake$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. hack/make-rules/test-integration.sh

      # previous make invocation.
      KUBE_TEST_ARGS="${SHORT:--short=true} --vmodule=${KUBE_TEST_VMODULE} ${KUBE_TEST_ARGS}" \
          WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
          GOFLAGS="${GOFLAGS:-}" \
          KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
          KUBE_RACE="" \
          MAKEFLAGS="" \
          make -C "${KUBE_ROOT}" test
    
      cleanup
    }
    
    checkEtcdOnPath() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_vendor_auto.txt

    env GO111MODULE=on
    
    [short] skip
    
    cd $WORK/auto
    cp go.mod go.mod.orig
    cp $WORK/modules-1.13.txt $WORK/auto/modules.txt
    
    # An explicit -mod=vendor should force use of the vendor directory.
    env GOFLAGS=-mod=vendor
    
    # Pass -e to permit an error: tools.go imports a main package
    # "example.com/printversion".
    # TODO(#59186): investigate why it didn't fail without -e.
    go list -f {{.Dir}} -tags tools -e all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/inl_test.go

    		args := []string{"build", "-gcflags=runtime=-m", "runtime"}
    		cmd := testenv.Command(t, testenv.GoToolPath(t), args...)
    		b, err := cmd.CombinedOutput()
    		if err != nil {
    			t.Fatalf("build failed (%v): %s", err, b)
    		}
    		mbase := collectInlCands(string(b))
    
    		// Redo the build with -cover, also with "-m".
    		args = []string{"build", "-gcflags=runtime=-m", mode, "runtime"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf_test.go

    		t.Helper()
    		t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    const (
    	DefaultOpt = "-gcflags="
    	NoOpt      = "-gcflags=-l -N"
    	OptInl4    = "-gcflags=-l=4"
    	OptAllInl4 = "-gcflags=all=-l=4"
    )
    
    func TestRuntimeTypesPresent(t *testing.T) {
    	t.Parallel()
    	testenv.MustHaveGoBuild(t)
    
    	mustHaveDWARF(t)
    
    	dir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. src/net/netip/inlining_test.go

    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    	regexp.MustCompile(` can inline (\S+)`).ReplaceAllFunc(out, func(match []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top