Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for run (0.05 sec)

  1. src/cmd/go/alldocs.go

    // module-aware mode or GOPATH mode, depending on the GO111MODULE environment
    // variable and the presence of a go.mod file. See 'go help modules' for details.
    // If module-aware mode is enabled, "go run" runs in the context of the main
    // module.
    //
    // By default, 'go run' runs the compiled binary directly: 'a.out arguments...'.
    // If the -exec flag is given, 'go run' invokes the binary using xprog:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    }
    
    // UsesSwig reports whether the package needs to run SWIG.
    func (p *Package) UsesSwig() bool {
    	return len(p.SwigFiles) > 0 || len(p.SwigCXXFiles) > 0
    }
    
    // UsesCgo reports whether the package needs to run cgo
    func (p *Package) UsesCgo() bool {
    	return len(p.CgoFiles) > 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    				b.cacheObjdirFile(a, cache.Default(), ba.covMetaFileName)
    			}
    		}
    	}
    
    	// Run SWIG on each .swig and .swigcxx file.
    	// Each run will generate two files, a .go file and a .c or .cxx file.
    	// The .go file will use import "C" and is to be processed by cgo.
    	// For -cover test or build runs, this needs to happen after the cover
    	// tool is run; we don't want to instrument swig-generated Go files,
    	// see issue #64661.
    	if p.UsesSwig() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top