Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 165 for goGcflags (0.14 sec)

  1. hack/lint-dependencies.sh

      exit 1
    fi
    
    kube::golang::setup_env
    kube::util::require-jq
    
    # Set the Go environment, otherwise we get "can't compute 'all' using the
    # vendor directory".
    export GOWORK=off
    export GOFLAGS=-mod=mod
    
    # let us log all errors before we exit
    rc=0
    
    # List of dependencies we need to avoid dragging back into kubernetes/kubernetes
    # Check if unwanted dependencies are removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_replace.txt

    env GO111MODULE=on
    env GOFLAGS=-mod=mod
    [short] skip
    
    # golang.org/issue/30166: 'go mod tidy' should not crash if a replaced module is
    # involved in a cycle.
    cd cycle
    env GOTRACEBACK=off
    go mod tidy
    cd ..
    
    # From inside the module, 'go list -m all' should NOT include transitive
    # requirements of modules that have been replaced.
    go list -m all
    stdout 'rsc.io/quote/v3 v3.0.0'
    ! stdout 'rsc.io/sampler'
    ! stdout 'golang.org/x/text'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_build_simple.txt

    # This test checks basic "go build -cover" functionality.
    
    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Build for coverage.
    go build -gcflags=-m -o example.exe -cover example/main &
    [race] go build -o examplewithrace.exe -race -cover example/main &
    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/build.go

    different sets of packages. If a package matches patterns given in
    multiple flags, the latest match on the command line wins.
    For example, 'go build -gcflags=-S fmt' prints the disassembly
    only for package fmt, while 'go build -gcflags=all=-S fmt'
    prints the disassembly for fmt and all its dependencies.
    
    For more about specifying packages, see 'go help packages'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    // causing the test to fail when being run interactively. E.g.
    //
    //	$ rm -f dump.txt
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ rm -f dump.txt foo.a
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ ls foo.a dump.txt > /dev/null
    //	ls : cannot access 'dump.txt': No such file or directory
    //	$
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. src/runtime/debug.go

    // preemption points. To apply this to all preemption points in the
    // runtime and runtime-like code, use the following in bash or zsh:
    //
    //	X=(-{gc,asm}flags={runtime/...,reflect,sync}=-d=maymorestack=runtime.mayMoreStackPreempt) GOFLAGS=${X[@]}
    //
    // This must be deeply nosplit because it is called from a function
    // prologue before the stack is set up and because the compiler will
    // call it from any splittable prologue (leading to infinite
    // recursion).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.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
    - 142.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/testflag.go

    			explicitArgs = append(explicitArgs, fmt.Sprintf("-test.%s=%v", short, f.Value))
    
    			// This flag has been overridden explicitly, so don't forward its implicit
    			// value from GOFLAGS.
    			delete(addFromGOFLAGS, short)
    			delete(addFromGOFLAGS, "test."+short)
    		}
    
    		args = remainingArgs
    	}
    	if firstUnknownFlag != "" && testC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile_test.go

    	// Build the fmt package with norefname. Not rebuilding all packages to save time.
    	// Also testing that norefname and non-norefname packages can link together.
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-gcflags=fmt=-d=norefname", "-o", exe, src)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("build failed: %v, output:\n%s", err, out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/runtime/runtime-lldb_test.go

    		t.Fatalf("failed to create mod file: %v", err)
    	}
    
    	// As of 2018-07-17, lldb doesn't support compressed DWARF, so
    	// disable it for this test.
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags=all=-N -l", "-ldflags=-compressdwarf=false", "-o", "a.exe")
    	cmd.Dir = dir
    	cmd.Env = append(os.Environ(), "GOPATH=") // issue 31100
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top