Skip to content

Commit 73900e0

Browse files
committed
update docs a bit
1 parent 1c0a579 commit 73900e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ https://hub.docker.com/r/clux/muslrust/)
77

88
Debian based Docker environment for building static binaries compiled with rust and linked against musl instead of glibc.
99

10-
The container comes with `openssl` and `curl` compiled against `musl-gcc` so that we can statically link against these system libraries as well.
10+
This is only useful if you require external C dependencies, because otherwise you could do `rustup target add x86_64-unknown-linux-musl`.
11+
12+
This container comes with `openssl` and `curl` compiled against `musl-gcc` so that we can statically link against these system libraries as well.
1113

1214
## Usage
1315
Pull and run from a rust project root:
@@ -34,9 +36,7 @@ The following system libraries are compiled against `musl-gcc`:
3436
- [x] openssl ([openssl crate](https://github.com/sfackler/rust-openssl))
3537
- [ ] ~~zlib ([zlib-sys crate](https://github.com/alexcrichton/libz-sys))~~
3638

37-
Turns out you don't generally need zlib as `flate2` bundles `miniz.c` as the default implementation, so have skipped this for now. The high use count of `zlib-sys` on crates.io may be due to flate2 having it as an optional dependency.
38-
39-
NB: Make sure you are using curl crate version >= 0.2.17 if using curl.
39+
You shouldn't need zlib as `flate2` bundles `miniz.c` as the default implementation.
4040

4141
## Developing
4242
Clone, tweak, build, and run tests:

0 commit comments

Comments
 (0)