Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for csflags (0.12 sec)

  1. src/cmd/go/internal/base/goflags.go

    	"cmd/internal/quoted"
    )
    
    var goflags []string // cached $GOFLAGS list; can be -x or --x form
    
    // GOFLAGS returns the flags from $GOFLAGS.
    // The list can be assumed to contain one string per flag,
    // with each string either beginning with -name or --name.
    func GOFLAGS() []string {
    	InitGOFLAGS()
    	return goflags
    }
    
    // InitGOFLAGS initializes the goflags list from $GOFLAGS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/swig_test.go

    		extraLDFlags := ""
    		if strings.Contains(testenv.Builder(), "clang") {
    			extraLDFlags += " -fuse-ld=lld"
    		}
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags+extraLDFlags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    		t.Errorf("%s", string(out))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    // Copyright 2015 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 flags implements top-level flags and the usage message for the assembler.
    package flags
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/kubelet/flags.go

    		nodeName = name
    	}
    	return nodeName, hostname, err
    }
    
    // WriteKubeletDynamicEnvFile writes an environment file with dynamic flags to the kubelet.
    // Used at "kubeadm init" and "kubeadm join" time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/flags.go

    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package istio
    
    import (
    	"flag"
    )
    
    // init registers the command-line flags that we can exposed for "go test".
    func init() {
    	flag.StringVar(&settingsFromCommandline.SystemNamespace, "istio.test.kube.systemNamespace", settingsFromCommandline.SystemNamespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testerrors/errors_test.go

    }
    
    func TestToleratesOptimizationFlag(t *testing.T) {
    	for _, cflags := range []string{
    		"",
    		"-O",
    	} {
    		cflags := cflags
    		t.Run(cflags, func(t *testing.T) {
    			testenv.MustHaveGoBuild(t)
    			testenv.MustHaveCGO(t)
    			t.Parallel()
    
    			cmd := exec.Command("go", "build", path("issue14669.go"))
    			cmd.Env = append(os.Environ(), "CGO_CFLAGS="+cflags)
    			out, err := cmd.CombinedOutput()
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/internal/goexperiment/flags.go

    // and "go version <binary>" if it differs from the default experiments.
    //
    // For the set of experiments supported by the current toolchain, see
    // "go doc goexperiment.Flags".
    //
    // Note that this package defines the set of experiments (in Flags)
    // and records the experiments that were enabled when the package
    // was compiled (as boolean and integer constants).
    //
    // Note especially that this package does not itself change behavior
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/bugreport/flags.go

    Tony Allen <******@****.***> 1699099670 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt

    [!GOOS:darwin] skip
    [!cgo] skip
    
    ! go build
    stderr 'invalid flag in #cgo LDFLAGS: -lto_library'
    
    -- go.mod --
    module ldflag
    
    -- main.go --
    package main
    
    // #cgo CFLAGS: -flto
    // #cgo LDFLAGS: -lto_library bad.dylib
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:41:16 UTC 2024
    - 241 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt

    [!GOOS:linux] skip
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    go build -ldflags='-linkmode=internal'
    exec ./abitest
    stdout success
    
    go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal'
    exec ./abitest.pie
    stdout success
    
    -- go.mod --
    module abitest
    
    -- abitest.go --
    package main
    
    /*
    #cgo CFLAGS: -Os
    
    int foo_fpr() {
            asm volatile("":::"fr31","fr30","fr29","fr28");
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top