mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-25 14:59:05 +00:00
main: do not run legacy init interpreter with run subcommand
Do not run the new init interpreter either. Just run the code.
This commit is contained in:
@@ -344,6 +344,7 @@ func Run(pkgName string) error {
|
|||||||
config := compiler.Config{
|
config := compiler.Config{
|
||||||
RootDir: sourceDir(),
|
RootDir: sourceDir(),
|
||||||
GOPATH: getGopath(),
|
GOPATH: getGopath(),
|
||||||
|
InitInterp: true,
|
||||||
}
|
}
|
||||||
c, err := compiler.NewCompiler(pkgName, config)
|
c, err := compiler.NewCompiler(pkgName, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user