Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for mkzcgo (0.11 sec)

  1. src/cmd/dist/buildgo.go

    		fmt.Fprintf(&buf, "\treturn %s\n", quote(gcc))
    	}
    	fmt.Fprintf(&buf, "}\n")
    
    	return buf.String()
    }
    
    // mkzcgo writes zcgo.go for the go/build package:
    //
    //	package build
    //	const defaultCGO_ENABLED = <CGO_ENABLED>
    //
    // It is invoked to write go/build/zcgo.go.
    func mkzcgo(dir, file string) {
    	var buf strings.Builder
    	writeHeader(&buf)
    	fmt.Fprintf(&buf, "package build\n")
    	fmt.Fprintln(&buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/runtime/race/mkcgo.sh

    #!/bin/bash
    
    hdr='
    // Copyright 2022 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.
    
    // Code generated by mkcgo.sh. DO NOT EDIT.
    
    //go:build race
    
    '
    
    convert() {
    	(echo "$hdr"; go tool cgo -dynpackage race -dynimport $1) | gofmt
    }
    
    convert race_darwin_arm64.syso >race_darwin_arm64.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 444 bytes
    - Viewed (0)
  3. src/cmd/dist/build.go

    // Files listed here should also be listed in ../distpack/pack.go's srcArch.Remove list.
    var gentab = []struct {
    	pkg  string // Relative to $GOROOT/src
    	file string
    	gen  func(dir, file string)
    }{
    	{"go/build", "zcgo.go", mkzcgo},
    	{"cmd/go/internal/cfg", "zdefaultcc.go", mkzdefaultcc},
    	{"runtime/internal/sys", "zversion.go", mkzversion},
    	{"time/tzdata", "zzipdata.go", mktzdata},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. src/runtime/race/doc.go

    // Package race implements data race detection logic.
    // No public interface is provided.
    // For details about the race detector see
    // https://golang.org/doc/articles/race_detector.html
    package race
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 386 bytes
    - Viewed (0)
  5. src/cmd/internal/archive/archive_test.go

    			}
    
    			if testenv.HasCGO() {
    				cgoarchive = filepath.Join(buildDir, "mycgo.a")
    				gopath := filepath.Join(buildDir, "gopath")
    				err = copyDir(filepath.Join(gopath, "src", "mycgo"), filepath.Join("testdata", "mycgo"))
    				if err == nil {
    					err = os.WriteFile(filepath.Join(gopath, "src", "mycgo", "go.mod"), []byte("module mycgo\n"), 0666)
    				}
    				if err != nil {
    					return err
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/runtime/race/race_darwin_amd64.go

    // Copyright 2022 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.
    
    // Code generated by mkcgo.sh. DO NOT EDIT.
    
    //go:build race
    
    package race
    
    //go:cgo_import_dynamic _Block_object_assign _Block_object_assign ""
    //go:cgo_import_dynamic _Block_object_dispose _Block_object_dispose ""
    //go:cgo_import_dynamic _NSConcreteStackBlock _NSConcreteStackBlock ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/race/race_darwin_arm64.go

    // Copyright 2022 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.
    
    // Code generated by mkcgo.sh. DO NOT EDIT.
    
    //go:build race
    
    package race
    
    //go:cgo_import_dynamic _Block_object_assign _Block_object_assign ""
    //go:cgo_import_dynamic _Block_object_dispose _Block_object_dispose ""
    //go:cgo_import_dynamic _NSConcreteStackBlock _NSConcreteStackBlock ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/cmd/internal/archive/testdata/mycgo/go.go

    package mycgo
    
    // void c1(void);
    // void c2(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 62 bytes
    - Viewed (0)
  9. src/cmd/internal/archive/testdata/mycgo/go1.go

    // Copyright 2017 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 mycgo
    
    import "fmt"
    
    func go1() {
    	fmt.Println("go1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 224 bytes
    - Viewed (0)
  10. src/cmd/internal/archive/testdata/mycgo/go2.go

    // Copyright 2017 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 mycgo
    
    import "fmt"
    
    func go2() {
    	fmt.Println("go2")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 10 22:16:32 UTC 2020
    - 224 bytes
    - Viewed (0)
Back to top