Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 838 for ncgo (0.08 sec)

  1. src/cmd/go/testdata/script/test_android_issue62123.txt

    stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    ! go test -c -o $devnull os
    stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    env GOOS=ios GOARCH=arm64 CGO_ENABLED=0
    
    ! go build -o $devnull cmd/buildid
    stderr 'ios/arm64 requires external \(cgo\) linking, but cgo is not enabled'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 21:55:28 UTC 2023
    - 683 bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    		fmt.Fprintf(fm, "void _cgo_release_context(size_t ctxt __attribute__((unused))) { }\n")
    		fmt.Fprintf(fm, "char* _cgo_topofstack(void) { return (char*)0; }\n")
    	} else {
    		// If we're not importing runtime/cgo, we *are* runtime/cgo,
    		// which provides these functions. We just need a prototype.
    		fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*), void *a, int c, size_t ctxt);\n")
    		fmt.Fprintf(fm, "size_t _cgo_wait_runtime_init_done(void);\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/net/cgo_stub.go

    	panic("cgo stub: cgo not available")
    }
    
    func cgoLookupCNAME(ctx context.Context, name string) (cname string, err error, completed bool) {
    	panic("cgo stub: cgo not available")
    }
    
    func cgoLookupPTR(ctx context.Context, addr string) (ptrs []string, err error) {
    	panic("cgo stub: cgo not available")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_bad_directives.txt

    [compiler:gc] stderr '//go:cgo_ldflag only allowed in cgo-generated code|no Go files'
    
    rm _cgo_yy.go
    
    # Reject #cgo CFLAGS: -fplugin=foo.so
    cp x.go.txt x.go
    cp y_fplugin.go.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -fplugin=foo.so'
    
    # Reject #cgo CFLAGS: -lbar -fplugin=foo.so
    cp y_lbar_fplugin.go.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -fplugin=foo.so'
    
    # Reject #cgo pkg-config: -foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_stale.txt

    go build -x .
    stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    ! stale runtime/cgo
    
    
    # After runtime/cgo has been rebuilt and cached, it should not be rebuilt again.
    
    go build -x .
    ! stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    ! stale runtime/cgo
    
    
    -- go.mod --
    module example.com/m
    
    go 1.17
    -- m.go --
    package m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 22:43:41 UTC 2022
    - 888 bytes
    - Viewed (0)
  6. api/go1.txt

    pkg syscall (darwin-386-cgo), const AF_PPP ideal-int
    pkg syscall (darwin-386-cgo), const AF_PUP ideal-int
    pkg syscall (darwin-386-cgo), const AF_RESERVED_36 ideal-int
    pkg syscall (darwin-386-cgo), const AF_ROUTE ideal-int
    pkg syscall (darwin-386-cgo), const AF_SIP ideal-int
    pkg syscall (darwin-386-cgo), const AF_SNA ideal-int
    pkg syscall (darwin-386-cgo), const AF_SYSTEM ideal-int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testnocgo/nocgo_test.go

    // Copyright 2014 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 nocgo
    
    import "testing"
    
    func TestNop(t *testing.T) {
    	i := NoCgo()
    	if i != 42 {
    		t.Errorf("got %d, want %d", i, 42)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 292 bytes
    - Viewed (0)
  8. src/cmd/go/internal/search/search.go

    			if have[name] {
    				return nil
    			}
    			have[name] = true
    			if !match(name) {
    				return nil
    			}
    			pkg, err := cfg.BuildContext.ImportDir(path, 0)
    			if err != nil {
    				if _, noGo := err.(*build.NoGoError); noGo {
    					// The package does not actually exist, so record neither the package
    					// nor the error.
    					return nil
    				}
    				// There was an error importing path, but not matching it,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt

    ! stdout '"sync"'
    
    	# Experiment: the implicitly-imported package "runtime/cgo" is also a test variant,
    	# because "runtime/cgo" also depends on "runtime".
    stdout '"runtime/cgo \[runtime\.test\]"'
    ! stdout '"runtime/cgo"'
    
    
    # Because the import of "runtime/cgo" in the cgo-generated file actually refers
    # to "runtime/cgo [runtime.test]", the latter should be listed in the ImportMap.
    # BUG(#46462): Today, it is not.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 22:26:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testso/testdata/so/cgoso.go

    // to test correct handling of LDFLAGS.
    #cgo linux LDFLAGS: -L. -lcgosotest
    #cgo dragonfly LDFLAGS: -L. -l cgosotest
    #cgo freebsd LDFLAGS: -L. -l cgosotest
    #cgo openbsd LDFLAGS: -L. -l cgosotest
    #cgo solaris LDFLAGS: -L. -lcgosotest
    #cgo netbsd LDFLAGS: -L. libcgosotest.so
    #cgo darwin LDFLAGS: -L. libcgosotest.dylib
    #cgo windows LDFLAGS: -L. libcgosotest.a
    #cgo aix LDFLAGS: -L. -l cgosotest
    
    void init(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:41 UTC 2023
    - 761 bytes
    - Viewed (0)
Back to top