diff options
author | Ayke van Laethem <[email protected]> | 2021-09-22 14:00:51 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-11-04 17:15:38 +0100 |
commit | c638f03b3c4264689a487043f1f99b8309d0aaac (patch) | |
tree | 0a12ac5f727288d2227b0d4b6c517e79796597e7 /builder/library.go | |
parent | 79bdd3f79a59a0edc724039f624e875ae718caf0 (diff) | |
download | tinygo-c638f03b3c4264689a487043f1f99b8309d0aaac.tar.gz tinygo-c638f03b3c4264689a487043f1f99b8309d0aaac.zip |
main: add -p flag to set parallelism
This is very useful for debugging.
Diffstat (limited to 'builder/library.go')
-rw-r--r-- | builder/library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/library.go b/builder/library.go index 0e09fa44c..511348c46 100644 --- a/builder/library.go +++ b/builder/library.go @@ -52,7 +52,7 @@ func (l *Library) Load(config *compileopts.Config, tmpdir string) (dir string, e if err != nil { return "", err } - err = runJobs(job) + err = runJobs(job, config.Options.Parallelism) return filepath.Dir(job.result), err } |