diff options
| author | bors <bors@rust-lang.org> | 2020-09-19 06:28:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-19 06:28:37 +0000 |
| commit | 4e8a8b49ae57233bc196f3529f5184bc208c3034 (patch) | |
| tree | 08c558d114ab66f40054dcb1432585c6533cd118 | |
| parent | ac19c3bda18ed5b692668725f7acac988f0aa2be (diff) | |
| parent | 15bd2365fc32556d3d1ab6fa76e8363214343e6e (diff) | |
| download | rust-4e8a8b49ae57233bc196f3529f5184bc208c3034.tar.gz rust-4e8a8b49ae57233bc196f3529f5184bc208c3034.zip | |
Auto merge of #76879 - shepmaster:zlib-sys, r=Mark-Simulacrum
Upgrade libz-sys to 1.1.2 The current version has warnings that become errors on new versions of clang shipped in XCode: ``` warning: src/zlib/gzlib.c:214:15: error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration] warning: (void)snprintf(state->path, len + 1, "%s", (const char *)path); warning: ^ warning: src/zlib/gzlib.c:214:15: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf' warning: 1 error generated. warning: src/zlib/gzwrite.c:428:11: error: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)' [-Werror,-Wimplicit-function-declaration warning: len = vsnprintf(next, state->size, format, va); warning: ^ warning: src/zlib/gzwrite.c:428:11: note: include the header <stdio.h> or explicitly provide a declaration for 'vsnprintf' warning: 1 error generated. ``` r? `@Mark-Simulacrum` /cc `@joshtriplett`
| -rw-r--r-- | Cargo.lock | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock index 7b9edca3cec..c9f75aa1d43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1657,9 +1657,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.0.27" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ca8894883d250240341478bf987467332fbdd5da5c42426c69a8f93dbc302f2" +checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655" dependencies = [ "cc", "libc", |
