mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
loader: avoid race condition when loading package list
I was seeing bad error messages... but only some of the time. So I went digging. Eventually I traced it to this one bug, probably introduced in https://github.com/tinygo-org/tinygo/pull/5290. This is not just a visual issue, this is actually a bug in TinyGo that will result in non-reproducible binaries and random behavior differences.
This commit is contained in:
committed by
Ron Evans
parent
4204f3d065
commit
45e2863e9f
+1
-1
@@ -245,7 +245,7 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool {
|
||||
"internal/cm/": false,
|
||||
"internal/futex/": false,
|
||||
"internal/fuzz/": false,
|
||||
"internal/itoa": false,
|
||||
"internal/itoa/": false,
|
||||
"internal/reflectlite/": false,
|
||||
"internal/gclayout": false,
|
||||
"internal/task/": false,
|
||||
|
||||
Reference in New Issue
Block a user