mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
2bb3b63ec4379b812aeceb690d78763ec55d3cbb
Fixing a FIXME turned out to be pretty involved. I added an io function that returns a unique boxed string (for the contents of a file) rather than a string, and went from there. Also made the src field of codemap a unique boxed string. This doesn't seem to make that much difference in amount of allocation according to valgrind (disappointingly), but I also had to introduce a copy somewhere else pending a new snapshot, so maybe that's it.
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.
Languages
Rust
95.7%
Shell
1%
C
0.9%
JavaScript
0.6%
Python
0.4%
Other
1.1%