Skip to content

Commit f543573

Browse files
committed
Run go 1.17's 'gofmt -w -s src'
1 parent c1384ea commit f543573

23 files changed

+320
-306
lines changed

src/crypto/rand/rand_arc4random.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build darwin || tinygo.wasm
12
// +build darwin tinygo.wasm
23

34
// This implementation of crypto/rand uses the arc4random_buf function

src/crypto/rand/rand_urandom.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux && !baremetal && !wasi
12
// +build linux,!baremetal,!wasi
23

34
// This implementation of crypto/rand uses the /dev/urandom pseudo-file to

src/internal/task/task_none.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.none
12
// +build scheduler.none
23

34
package task

src/internal/task/task_stack_386.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && 386
12
// +build scheduler.tasks,386
23

34
package task

src/internal/task/task_stack_amd64.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && amd64 && !windows
12
// +build scheduler.tasks,amd64,!windows
23

34
package task

src/internal/task/task_stack_amd64_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && amd64 && windows
12
// +build scheduler.tasks,amd64,windows
23

34
package task

src/internal/task/task_stack_arm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && arm && !cortexm && !avr && !xtensa && !tinygo.riscv
12
// +build scheduler.tasks,arm,!cortexm,!avr,!xtensa,!tinygo.riscv
23

34
package task

src/internal/task/task_stack_arm64.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && arm64
12
// +build scheduler.tasks,arm64
23

34
package task

src/internal/task/task_stack_avr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && avr
12
// +build scheduler.tasks,avr
23

34
package task

src/internal/task/task_stack_cortexm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build scheduler.tasks && cortexm
12
// +build scheduler.tasks,cortexm
23

34
package task

0 commit comments

Comments
 (0)