diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-29 14:28:57 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-29 14:28:57 +0100 |
commit | 1cde354c35f425026184b8d72f4f5865e96975d4 (patch) | |
tree | 11fa53f91ff2bf598f8ba726d130708bf7b3bad2 /docs/dev | |
parent | 12aae7771dc220a62d1323ac6a30ddf215fe2b92 (diff) | |
parent | bfce6573772ebb91a9b1054864c0f53669ceee2f (diff) |
Merge #4119
4119: Cache proc-macro dlls r=matklad a=edwin0cheng
This PR try to fix a deadlock in proc-macro srv by not unloading dlls.
Currently we load and unload dlls for each request, however rustc TLS is leaky , such that if we do it a lot of times, all TLS index will be consumed and it will be deadlocked inside panic (it is because panic itself is using TLS too).
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions