]> Cypherpunks repositories - gostls13.git/commit
cmd/go,cmd/compile: re-enable concurrent compilation on darwin/arm64
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 4 Oct 2021 19:14:10 +0000 (12:14 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 4 Oct 2021 19:51:37 +0000 (19:51 +0000)
commit579ff8b1313479b795e3b536f7b9444094060b32
treebe7739c885c651cdd61a61a669a52cf861232ce5
parent7d822af4500831d131562f17dcf53374469d823e
cmd/go,cmd/compile: re-enable concurrent compilation on darwin/arm64

I've manually reviewed all uses of ctxt.Flag_shared for concurrency safety.
And I manually tested with the race detector and found no issues.
Allow -shared to be used with compiler concurrency,
thereby re-enabling concurrent compilation on darwin/arm64.

Fixes #48496

Change-Id: I8a084cb08e6050950e404ceb9bd7e3a20e07e9c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/353871
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/compile/internal/base/flag.go
src/cmd/go/internal/work/gc.go