main, compileopts: move GetTargetSpecs() to compileopts package

This commit is contained in:
sago35
2023-11-01 08:20:37 +09:00
committed by Ron Evans
parent 24ae6fdf29
commit a531ed614a
3 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -1743,7 +1743,7 @@ func main() {
handleCompilerError(err)
}
case "targets":
specs, err := GetTargetSpecs()
specs, err := compileopts.GetTargetSpecs()
if err != nil {
fmt.Fprintln(os.Stderr, "could not list targets:", err)
os.Exit(1)