diff options
author | 2024-10-25 09:53:41 -0700 | |
---|---|---|
committer | 2024-10-25 10:04:35 -0700 | |
commit | 50bc3bc677880aceb108a39b0afccf1a7fc36fcb (patch) | |
tree | a8ee0b4e10ff96c35aef987c4c9a360394dc528d /rust/project_json.go | |
parent | afcdce8be98bc89de0d2ed4cdc05e5f3ac99b7aa (diff) |
Fix race condition when running tests
Tests running in parallel can trigger the race detector on
addLsdumpPath vs. reading the global paths in cc/makevars.go.
Move the lsdumpPaths variable into the Context instead of a
global variable.
Test: go test -race ./apex
Flag: EXEMPT bugfix
Change-Id: I0247358a5b3955d8e0e7d2ef54ce3942d973e948
Diffstat (limited to 'rust/project_json.go')
0 files changed, 0 insertions, 0 deletions