Skip to content

Commit

Permalink
align build tags to new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Feb 11, 2022
1 parent b9c5098 commit 5c4e1e5
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crypto/rand/rand_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package rand
Expand All @@ -16,7 +17,7 @@ func init() {
}

type reader struct {
mu sync.Mutex
mu sync.Mutex
}

func (r *reader) Read(b []byte) (int, error) {
Expand Down
1 change: 1 addition & 0 deletions src/crypto/x509/root_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package x509
Expand Down
1 change: 1 addition & 0 deletions src/internal/poll/fcntl_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package poll
Expand Down
1 change: 1 addition & 0 deletions src/os/exec/lp_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package exec
Expand Down
1 change: 1 addition & 0 deletions src/os/stat_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package os
Expand Down
1 change: 1 addition & 0 deletions src/os/sys_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package os
Expand Down
1 change: 1 addition & 0 deletions src/runtime/internal/sys/zgoos_tamago.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/runtime/lock_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago && arm
// +build tamago,arm

package runtime
Expand Down
1 change: 1 addition & 0 deletions src/runtime/os_tamago_arm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago && arm
// +build tamago,arm

package runtime
Expand Down
1 change: 1 addition & 0 deletions src/runtime/stubs_nontamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !tamago
// +build !tamago

package runtime
Expand Down
1 change: 1 addition & 0 deletions src/syscall/syscall_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
//go:build tamago
// +build tamago

package syscall
Expand Down
1 change: 1 addition & 0 deletions src/syscall/tables_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package syscall
Expand Down
1 change: 1 addition & 0 deletions src/syscall/zsyscall_tamago_arm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/syscall/zsysnum_tamago_arm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build arm && tamago
// +build arm,tamago

package syscall
Expand Down
1 change: 1 addition & 0 deletions src/time/zoneinfo_read_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package time
Expand Down
1 change: 1 addition & 0 deletions src/time/zoneinfo_tamago.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build tamago
// +build tamago

package time
Expand Down

0 comments on commit 5c4e1e5

Please sign in to comment.