SymABIs = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble")
Importpath = flag.String("p", "", "set expected package import to path")
Spectre = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
- CompilingRuntime = flag.Bool("compilingRuntime", false, "source to be compiled is part of the Go runtime")
+ CompilingRuntime = flag.Bool("compiling-runtime", false, "source to be compiled is part of the Go runtime")
)
var (
}
goasmh := pathf("%s/go_asm.h", workdir)
if IsRuntimePackagePath(pkg) {
- asmArgs = append(asmArgs, "-compilingRuntime")
+ asmArgs = append(asmArgs, "-compiling-runtime")
if os.Getenv("GOEXPERIMENT") == "regabi" {
// In order to make it easier to port runtime assembly
// to the register ABI, we introduce a macro
}
}
if objabi.IsRuntimePackagePath(pkgpath) {
- args = append(args, "-compilingRuntime")
+ args = append(args, "-compiling-runtime")
if objabi.Regabi_enabled != 0 {
// In order to make it easier to port runtime assembly
// to the register ABI, we introduce a macro