cl: builtin llgo tag

This commit is contained in:
Li Jie
2024-09-04 10:07:22 +08:00
parent 3ce9567f62
commit e9aaf8e0af
3 changed files with 30 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ const (
func Do(args []string, conf *Config) {
flags, patterns, verbose := ParseArgs(args, buildFlags)
flags = append(flags, "-tags", "llgo")
cfg := &packages.Config{
Mode: loadSyntax | packages.NeedDeps | packages.NeedModule | packages.NeedExportFile,
BuildFlags: flags,