All checks were successful
Test / Hakurei (push) Successful in 42s
Test / Create distribution (push) Successful in 25s
Test / Sandbox (push) Successful in 40s
Test / Hakurei (race detector) (push) Successful in 43s
Test / Sandbox (race detector) (push) Successful in 38s
Test / Planterette (push) Successful in 40s
Test / Flake checks (push) Successful in 1m15s
Remove special case and invoke hakurei out of process. Signed-off-by: Ophestra <cat@gensokyo.uk>
21 lines
302 B
Go
21 lines
302 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"path"
|
|
)
|
|
|
|
const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID"
|
|
|
|
var (
|
|
hmain = compPoison
|
|
)
|
|
|
|
func mustCheckPath(p string) string {
|
|
if p != compPoison && p != "" && path.IsAbs(p) {
|
|
return p
|
|
}
|
|
log.Fatal("this program is compiled incorrectly")
|
|
return compPoison
|
|
}
|