Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 165 for goGcflags (0.15 sec)

  1. src/cmd/cgo/internal/testerrors/badsym_test.go

    	if err != nil {
    		t.Skipf("parsing go env CC: %s", err)
    	}
    	if len(cc) == 0 {
    		t.Skipf("no C compiler")
    	}
    	testenv.MustHaveExecPath(t, cc[0])
    
    	out := goEnv(t, "GOGCCFLAGS")
    	quote := '\000'
    	start := 0
    	lastSpace := true
    	backslash := false
    	s := string(out)
    	for i, c := range s {
    		if quote == '\000' && unicode.IsSpace(c) {
    			if !lastSpace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    rm $GOPATH/bin/a
    cd ..
    
    
    # 'go install -modfile=x.mod pkg@version' reports an error, but only if
    # -modfile is specified explicitly on the command line.
    cd m
    env GOFLAGS=-modfile=go.mod
    go install example.com/cmd/a@latest  # same as above
    env GOFLAGS=
    ! go install -modfile=go.mod example.com/cmd/a@latest
    stderr '^go: -modfile cannot be used with commands that ignore the current module$'
    cd ..
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/seh.go

    	if movbp.Link.Pc > math.MaxUint8 {
    		// SEH unwind information don't support prologues that are more than 255 bytes long.
    		// These are very rare, but still possible, e.g., when compiling functions with many
    		// parameters with -gcflags=-d=maymorestack=runtime.mayMoreStackPreempt.
    		// Return without reporting an error.
    		return
    	}
    
    	// Reference:
    	// https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-unwind_info
    
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    	if gccgoflags := BuildGccgoflags.String(); gccgoflags != "" && cfg.BuildContext.Compiler == "gccgo" {
    		appendSetting("-gccgoflags", gccgoflags)
    	}
    	if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" {
    		appendSetting("-gcflags", gcflags)
    	}
    	if ldflags := BuildLdflags.String(); ldflags != "" {
    		// https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    	"unicode"
    )
    
    var globalSkip = func(t *testing.T) {}
    
    // Program to run.
    var bin []string
    
    // C compiler with args (from $(go env CC) $(go env GOGCCFLAGS)).
    var cc []string
    
    // ".exe" on Windows.
    var exeSuffix string
    
    var GOOS, GOARCH, GOPATH string
    var libgodir string
    
    var testWork bool // If true, preserve temporary directories.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  6. src/internal/testenv/testenv_test.go

    				// missing a C linker.
    				t.Logf("HasGoBuild is false on %s", b)
    				return
    			}
    		}
    
    		if strings.Contains(b, "-noopt") {
    			// The -noopt builder sets GO_GCFLAGS, which causes tests of 'go build' to
    			// be skipped.
    			t.Logf("HasGoBuild is false on %s", b)
    			return
    		}
    
    		t.Fatalf("HasGoBuild unexpectedly false on %s", b)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/test.go

    					Directives: p.Internal.Build.XTestDirectives,
    				},
    				Imports:    ximports,
    				RawImports: rawXTestImports,
    
    				Asmflags:       p.Internal.Asmflags,
    				Gcflags:        p.Internal.Gcflags,
    				Ldflags:        p.Internal.Ldflags,
    				Gccgoflags:     p.Internal.Gccgoflags,
    				Embed:          xtestEmbed,
    				OrigImportPath: p.Internal.OrigImportPath,
    				PGOProfile:     p.Internal.PGOProfile,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            cCompiler.name == Introspector.decapitalize('cCompiler')
        }
    
        @Managed
        interface HasDoubleCapsStartingGetter {
            String getCFlags()
            void setCFlags(String cflags)
        }
    
        def "extraction of double uppercase char first getter like getCFlags() is javabeans compliant"() {
            when:
            def schema = store.getSchema(HasDoubleCapsStartingGetter)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  9. hack/update-vendor-licenses.sh

    #############################################################################
    
    # use modules, and use module info rather than the vendor dir for computing dependencies
    kube::golang::setup_env
    export GOWORK=off
    export GOFLAGS=-mod=mod
    
    # Check bash version
    if (( BASH_VERSINFO[0] < 4 )); then
      echo
      echo "ERROR: Bash v4+ required."
      # Extra help for OSX
      if [[ "$(uname -s)" == "Darwin" ]]; then
        echo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:53 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

                this.a = a;
                this.b = b;
            }
    
            @Input
            public String getcCompiler() {
                return cCompiler;
            }
    
            @Input
            public String getCFlags() {
                return CFlags;
            }
    
            @Input
            public String getDns() {
                return dns;
            }
    
            @Input
            public String getURL() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
Back to top