From 109d9a66a7af9d5a3ff7edabcf4fd93bdb6db55d Mon Sep 17 00:00:00 2001 From: Colin Woodbury Date: Tue, 11 Aug 2020 14:20:52 -0700 Subject: [PATCH] Mention `--musl` in the README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index dbd408f..fcfed20 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,15 @@ At this point, it is up to you to: Some of these steps may be automated in `cargo aur` at a later date if there is sufficient demand. + +### Static Binaries + +Run with `--musl` to produce a release binary that is statically linked via +[MUSL](https://musl.libc.org/). + +``` +> cargo aur --musl +> cd target/x86_64-unknown-linux-musl/release/ +> ldd + not a dynamic executable +```