I'm trying to build Pants locally at 1.30.x and ge...
# development
h
I'm trying to build Pants locally at 1.30.x and getting this error:
Copy code
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.

error: failed to run custom build command for `libz-sys v1.0.25`
Ring any bells?
a
Yes, bump the libz-sys dep to 1.1.2
An OSX update updated a clang which made https://github.com/rust-lang/libz-sys/commit/81026e996eb3804acf1e6898a3c1d791cdfb59f1 necessary to build libz on Mac
h
👍 Thanks!