aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorsago35 <[email protected]>2023-11-01 08:20:37 +0900
committerRon Evans <[email protected]>2023-11-02 15:37:43 +0100
commita531ed614a58346f9790add14717a768ac95af9c (patch)
treefd1befc0a304199230f422c55a439b5101f66c94 /main.go
parent24ae6fdf293502f032ed8cec857515b356b32b4a (diff)
downloadtinygo-a531ed614a58346f9790add14717a768ac95af9c.tar.gz
tinygo-a531ed614a58346f9790add14717a768ac95af9c.zip
main, compileopts: move GetTargetSpecs() to compileopts package
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 288cdf44a..72bf76a11 100644
--- a/main.go
+++ b/main.go
@@ -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)