aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro_srv/src/rustc_server.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-29 14:28:57 +0100
committerGitHub <[email protected]>2020-04-29 14:28:57 +0100
commit1cde354c35f425026184b8d72f4f5865e96975d4 (patch)
tree11fa53f91ff2bf598f8ba726d130708bf7b3bad2 /crates/ra_proc_macro_srv/src/rustc_server.rs
parent12aae7771dc220a62d1323ac6a30ddf215fe2b92 (diff)
parentbfce6573772ebb91a9b1054864c0f53669ceee2f (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 'crates/ra_proc_macro_srv/src/rustc_server.rs')
0 files changed, 0 insertions, 0 deletions