Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 165 for goGcflags (0.15 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/test_ppc64le_cgo_inline_plt.txt

    #
    # Verifies golang.org/issue/53345
    #
    # Note, older gcc/clang may accept this option, but
    # ignore it if binutils does not support the relocs.
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    env CGO_CFLAGS='-fno-plt -O2 -g'
    
    go build -ldflags='-linkmode=internal'
    exec ./noplttest
    stdout helloworld
    
    -- go.mod --
    module noplttest
    
    -- noplttest.go --
    package main
    
    /*
    #include <stdio.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 719 bytes
    - Viewed (0)
  3. 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)
  4. test/fixedbugs/issue10958.go

    // buildrun -t 10  -gcflags=-d=ssa/insert_resched_checks/on,ssa/check/on
    
    //go:build !nacl && !js && disabled_see_issue_18589
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test is disabled because it flakes when run in all.bash
    // on some platforms, but is useful standalone to verify
    // that rescheduling checks are working (and we may wish
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. test/fixedbugs/issue34968.go

    // run -gcflags=all=-d=checkptr
    
    //go:build cgo
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // #include <stdlib.h>
    import "C"
    
    func main() {
    	C.malloc(100)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 289 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug_lines_test.go

    // testDebugLinesDefault removes the first wanted statement on architectures that are not (yet) register ABI.
    func testDebugLinesDefault(t *testing.T, gcflags, file, function string, wantStmts []int, ignoreRepeats bool) {
    	unixOnly(t)
    	if !hasRegisterABI() {
    		wantStmts = wantStmts[1:]
    	}
    	testDebugLines(t, gcflags, file, function, wantStmts, ignoreRepeats)
    }
    
    func TestDebugLinesSayHi(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/internal/vet/vetflag.go

    			// This flag has been overridden explicitly, so don't forward its implicit
    			// value from GOFLAGS.
    			delete(addFromGOFLAGS, f.Name)
    		}
    
    		args = remainingArgs
    	}
    
    	// Prepend arguments from GOFLAGS before other arguments.
    	CmdVet.Flag.Visit(func(f *flag.Flag) {
    		if addFromGOFLAGS[f.Name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. test/fixedbugs/issue46938.go

    // run -gcflags="-d=checkptr"
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"strings"
    	"unsafe"
    )
    
    func main() {
    	defer func() {
    		err := recover()
    		if err == nil {
    			panic("expected panic")
    		}
    		if got := err.(error).Error(); !strings.Contains(got, "slice bounds out of range") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 25 01:57:42 UTC 2021
    - 584 bytes
    - Viewed (0)
Back to top