mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
all: run gofmt on all source code
Some source code wasn't part of `FMT_PATHS` so wasn't checked for correct formatting. This change includes all this source code and excludes cgo/testdata because it contains files that can't be parsed.
This commit is contained in:
committed by
Ron Evans
parent
9af535bf98
commit
64d7f1e436
@@ -1,3 +1,4 @@
|
||||
//go:build darwin || tinygo.wasm
|
||||
// +build darwin tinygo.wasm
|
||||
|
||||
// This implementation of crypto/rand uses the arc4random_buf function
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux && !baremetal && !wasi
|
||||
// +build linux,!baremetal,!wasi
|
||||
|
||||
// This implementation of crypto/rand uses the /dev/urandom pseudo-file to
|
||||
|
||||
@@ -193,12 +193,12 @@ func enableIcache(enable bool) {
|
||||
arm.Asm("dsb 0xF")
|
||||
arm.Asm("isb 0xF")
|
||||
} else {
|
||||
arm.Asm("dsb 0xF")
|
||||
arm.Asm("isb 0xF")
|
||||
arm.Asm("dsb 0xF")
|
||||
arm.Asm("isb 0xF")
|
||||
SystemControl.CCR.ClearBits(SCB_CCR_IC_Msk)
|
||||
SystemControl.ICIALLU.Set(0)
|
||||
arm.Asm("dsb 0xF")
|
||||
arm.Asm("isb 0xF")
|
||||
arm.Asm("dsb 0xF")
|
||||
arm.Asm("isb 0xF")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ func CheckCorpus(vals []any, types []reflect.Type) error {
|
||||
return errors.New("not implemented")
|
||||
}
|
||||
|
||||
func ResetCoverage() {}
|
||||
func ResetCoverage() {}
|
||||
func SnapshotCoverage() {}
|
||||
|
||||
// RunFuzzWorker is called in a worker process to communicate with the
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.none
|
||||
// +build scheduler.none
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && 386
|
||||
// +build scheduler.tasks,386
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && amd64 && !windows
|
||||
// +build scheduler.tasks,amd64,!windows
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && amd64 && windows
|
||||
// +build scheduler.tasks,amd64,windows
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && arm && !cortexm && !avr && !xtensa && !tinygo.riscv
|
||||
// +build scheduler.tasks,arm,!cortexm,!avr,!xtensa,!tinygo.riscv
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && arm64
|
||||
// +build scheduler.tasks,arm64
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && avr
|
||||
// +build scheduler.tasks,avr
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && cortexm
|
||||
// +build scheduler.tasks,cortexm
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && esp32
|
||||
// +build scheduler.tasks,esp32
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && esp8266
|
||||
// +build scheduler.tasks,esp8266
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build scheduler.tasks && tinygo.riscv
|
||||
// +build scheduler.tasks,tinygo.riscv
|
||||
|
||||
package task
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build tinygo
|
||||
// +build tinygo
|
||||
|
||||
package net
|
||||
|
||||
Reference in New Issue
Block a user