diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-01-23 15:55:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-06 08:42:54 -0800 |
| commit | 77c3bfa7429abf87b76ba84108df018d9e9d90e2 (patch) | |
| tree | dbcf69224b24f6820dfe103713a837e0074f0567 /src/libflate | |
| parent | ce4abc35150425ac5ddf460b5a7b444da2140009 (diff) | |
| download | rust-77c3bfa7429abf87b76ba84108df018d9e9d90e2.tar.gz rust-77c3bfa7429abf87b76ba84108df018d9e9d90e2.zip | |
std: Remove cfg(cargobuild) annotations
These are all now no longer needed that we've only got rustbuild in tree.
Diffstat (limited to 'src/libflate')
| -rw-r--r-- | src/libflate/build.rs | 1 | ||||
| -rw-r--r-- | src/libflate/lib.rs | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/libflate/build.rs b/src/libflate/build.rs index 245c705dfcc..12016980a2c 100644 --- a/src/libflate/build.rs +++ b/src/libflate/build.rs @@ -11,7 +11,6 @@ extern crate gcc; fn main() { - println!("cargo:rustc-cfg=cargobuild"); gcc::Config::new() .file("../rt/miniz.c") .compile("libminiz.a"); diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 8365e9db2a9..dedec7b1609 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -74,10 +74,6 @@ impl Drop for Bytes { } } -#[link(name = "miniz", kind = "static")] -#[cfg(not(cargobuild))] -extern "C" {} - extern "C" { /// Raw miniz compression function. fn tdefl_compress_mem_to_heap(psrc_buf: *const c_void, |
