Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompileAction (0.11 sec)

  1. src/cmd/go/internal/work/action.go

    func (b *Builder) AutoAction(mode, depMode BuildMode, p *load.Package) *Action {
    	if p.Name == "main" {
    		return b.LinkAction(mode, depMode, p)
    	}
    	return b.CompileAction(mode, depMode, p)
    }
    
    // buildActor implements the Actor interface for package build
    // actions. For most package builds this simply means invoking th
    // *Builder.build method; in the case of "go test -cover" for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    				// Add a dependence edge from p to writeCoverMetaAct,
    				// which needs to know the name of that meta-data
    				// file.
    				compileAction := b.CompileAction(work.ModeBuild, work.ModeBuild, p)
    				writeCoverMetaAct.Deps = append(writeCoverMetaAct.Deps, compileAction)
    			}
    		}
    		runAction.Objdir = testDir
    		vetRunAction = runAction
    		cleanAction = &work.Action{
    			Mode:       "test clean",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top