diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-24 21:00:31 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-26 15:42:15 -0800 |
| commit | cdfdc1eb6b9ff58b4a264d1c112dfcbf6e9187ae (patch) | |
| tree | 648f2dad8b0b1d0a079a569deaf304e241b15512 /src/librustc/middle/trans | |
| parent | 26114838944128ffe66d1e9fc897cb45b1a5eb1d (diff) | |
| download | rust-cdfdc1eb6b9ff58b4a264d1c112dfcbf6e9187ae.tar.gz rust-cdfdc1eb6b9ff58b4a264d1c112dfcbf6e9187ae.zip | |
Move extra::flate to libflate
This is hopefully the beginning of the long-awaited dissolution of libextra. Using the newly created build infrastructure for building libraries, I decided to move the first module out of libextra. While not being a particularly meaty module in and of itself, the flate module is required by rustc and additionally has a native C dependency. I was able to very easily split out the C dependency from rustrt, update librustc, and magically everything gets installed to the right locations and built automatically. This is meant to be a proof-of-concept commit to how easy it is to remove modules from libextra now. I didn't put any effort into modernizing the interface of libflate or updating it other than to remove the one glob import it had.
Diffstat (limited to 'src/librustc/middle/trans')
| -rw-r--r-- | src/librustc/middle/trans/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/trans/base.rs b/src/librustc/middle/trans/base.rs index 5b246daa6c5..9744c395b7c 100644 --- a/src/librustc/middle/trans/base.rs +++ b/src/librustc/middle/trans/base.rs @@ -2683,7 +2683,7 @@ pub fn crate_ctxt_to_encode_parms<'r>(cx: &'r CrateContext, ie: encoder::encode_ } pub fn write_metadata(cx: &CrateContext, crate: &ast::Crate) -> ~[u8] { - use extra::flate; + use flate; if !cx.sess.building_library.get() { return ~[] |
