about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-07-11 00:56:26 -0700
committerKevin Ballard <kevin@sb.org>2013-07-14 15:01:50 -0700
commit1d4c3146f5e35ce60db73849da8806d73c6ecee2 (patch)
treece10236b81d0859222b0fa9125ef6f3753e3d496 /src/rt/rust_kernel.cpp
parent69da3808444d71a39d3c05519a45d5186537cfcb (diff)
downloadrust-1d4c3146f5e35ce60db73849da8806d73c6ecee2.tar.gz
rust-1d4c3146f5e35ce60db73849da8806d73c6ecee2.zip
Don't re-parse terminfo (twice!) on every compiler diagnostic
Stuff the term::Terminal into TLS to avoid re-parsing for every single
message we want to color.

Fixes #6827.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions