Skip to content

Conversation

@imp
Copy link
Contributor

@imp imp commented Oct 19, 2018

There is a way to build statically linked crate right now, however, it requires the environment variable LIBZ_SYS_STATIC=1. This can be suboptimal when as it makes the build to not be self-contained.
This PR adds feature static that triggers the same processing as the env var.

@alexcrichton alexcrichton merged commit fc7ad50 into rust-lang:master Oct 20, 2018
@alexcrichton
Copy link
Member

Thanks!

@imp
Copy link
Contributor Author

imp commented Oct 23, 2018

Now, that this is merged, would it be possible to cut a new release with this feature present? We need to start converging other crates that depend on static libz.

@alexcrichton
Copy link
Member

Sure thing, can do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants