| 1 |
# Tests golang.org/issue/48490 |
| 2 |
# cmd/go should enable concurrent compilation by default |
| 3 |
|
| 4 |
# Reset all experiments, since one of them can disable |
| 5 |
# concurrent compilation, e.g: fieldtrack. |
| 6 |
env GOEXPERIMENT=none |
| 7 |
|
| 8 |
env GOMAXPROCS=4 |
| 9 |
go build -n -x -a fmt |
| 10 |
stderr ' -c=4 ' |