diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-26 12:22:33 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-26 13:20:23 -0700 |
| commit | 4e136d1fd9bd5536d441c062d41e7b71b375a942 (patch) | |
| tree | 004b199b79917efabbb804050bd60acc8c8686e8 /src/comp/rustc.rc | |
| parent | 3aef2c1d7db86ff842796e9ea93acf8c09aac44c (diff) | |
| download | rust-4e136d1fd9bd5536d441c062d41e7b71b375a942.tar.gz rust-4e136d1fd9bd5536d441c062d41e7b71b375a942.zip | |
Add rustc::middle::cstrcache for getting c string bufs safely
We continue to leak string buffers in trans so this creates a way to get c string buffers from strings while guaranteeing that they are not freed before use. Hopefully this can be made efficient in the istr regime.
Diffstat (limited to 'src/comp/rustc.rc')
| -rw-r--r-- | src/comp/rustc.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index c9f0d2f067b..0dd9f004ad8 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -30,6 +30,7 @@ mod middle { mod freevars; mod shape; mod gc; + mod cstrcache; mod tstate { mod ck; |
