import (
"fmt"
+ "internal/buildcfg"
"os"
"path/filepath"
"strconv"
// Set macros for GOEXPERIMENTs so we can easily switch
// runtime assembly code based on them.
if *flags.CompilingRuntime {
- for _, exp := range objabi.EnabledExperiments() {
+ for _, exp := range buildcfg.EnabledExperiments() {
// Define macro.
name := "GOEXPERIMENT_" + exp
macros[name] = &Macro{