Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is similar to CL 478196 and CL 477296,
but this is for -buildmode=shared. When using "go install -buildmode=shared std", because the gold linker is used by default on Linux arm64, it will cause temporary paths to be included in libstd.so. Based on the changes of CL 478196, I speculate that this may also have issues on other platforms. So, this change is for all platform. But I don't have any other platforms and don't know what the file name for verification, so the testcase are only for the Linux platform. I hope someone can improve this testcase. Thanks!
- Loading branch information