Skip to content

Commit

Permalink
internal/mod/mvs/internal/...: remove ignore build tags
Browse files Browse the repository at this point in the history
These packages are going to be used by internal/mod/mvs in the
next CL (https://cuelang.org/cl/1168705).

For #2330.

Signed-off-by: Roger Peppe <[email protected]>
Change-Id: I55f55282b95c88bedf6dcc0041e32c1e1a16b84c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1168792
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
  • Loading branch information
rogpeppe committed Sep 12, 2023
1 parent 38cf584 commit a102419
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 52 deletions.
30 changes: 0 additions & 30 deletions internal/mod/mvs/internal/par/atomic_go1.18.go

This file was deleted.

11 changes: 0 additions & 11 deletions internal/mod/mvs/internal/par/atomic_go1.19.go

This file was deleted.

2 changes: 0 additions & 2 deletions internal/mod/mvs/internal/par/queue.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build ignore

// Copyright 2020 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.
Expand Down
2 changes: 0 additions & 2 deletions internal/mod/mvs/internal/par/queue_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build ignore

// Copyright 2020 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.
Expand Down
5 changes: 2 additions & 3 deletions internal/mod/mvs/internal/par/work.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build ignore

// Copyright 2018 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.
Expand All @@ -11,6 +9,7 @@ import (
"errors"
"math/rand"
"sync"
"sync/atomic"
)

// Work manages a set of work items to be executed in parallel, at most once each.
Expand Down Expand Up @@ -141,7 +140,7 @@ type Cache[K comparable, V any] struct {
}

type cacheEntry[V any] struct {
done atomicBool
done atomic.Bool
mu sync.Mutex
result V
}
Expand Down
2 changes: 0 additions & 2 deletions internal/mod/mvs/internal/par/work_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build ignore

// Copyright 2018 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.
Expand Down
2 changes: 0 additions & 2 deletions internal/mod/mvs/internal/slices/slices.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build ignore

// Copyright 2023 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.
Expand Down

0 comments on commit a102419

Please sign in to comment.