mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +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:
@@ -342,8 +342,9 @@ func FlashGDB(pkgName, target, port string, ocdOutput bool, config *BuildConfig)
|
||||
// Run the specified package directly (using JIT or interpretation).
|
||||
func Run(pkgName string) error {
|
||||
config := compiler.Config{
|
||||
RootDir: sourceDir(),
|
||||
GOPATH: getGopath(),
|
||||
RootDir: sourceDir(),
|
||||
GOPATH: getGopath(),
|
||||
InitInterp: true,
|
||||
}
|
||||
c, err := compiler.NewCompiler(pkgName, config)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user