use iota for "enum"

Test: m nothing
Bug: N/A
Change-Id: I9d59796cbf1dc3dc8e1e9fc536b50c1dea3a5f61
This commit is contained in:
Usta Shrestha 2022-01-11 02:40:54 -05:00
parent ee7a5d7a16
commit 62823dcf01

View file

@ -99,9 +99,9 @@ type BootstrapConfig interface {
type StopBefore int type StopBefore int
const ( const (
DoEverything StopBefore = 0 DoEverything StopBefore = iota
StopBeforePrepareBuildActions StopBefore = 1 StopBeforePrepareBuildActions
StopBeforeWriteNinja StopBefore = 2 StopBeforeWriteNinja
) )
type PrimaryBuilderInvocation struct { type PrimaryBuilderInvocation struct {