]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/asm/internal/lex/input.go
internal/buildcfg: move build configuration out of cmd/internal/objabi
[gostls13.git] / src / cmd / asm / internal / lex / input.go
index aa03759c7d2908a7b4bf0eaf32cf7b07587cfd2b..e373ae817e0d83f70bdc3ae5fe7b58f89c179f26 100644 (file)
@@ -6,6 +6,7 @@ package lex
 
 import (
        "fmt"
+       "internal/buildcfg"
        "os"
        "path/filepath"
        "strconv"
@@ -49,7 +50,7 @@ func predefine(defines flags.MultiFlag) map[string]*Macro {
        // 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{