static link sin docker

This commit is contained in:
serxoz 2024-04-15 15:54:29 +02:00
parent 0b090420d9
commit 0d5117e4a4

View File

@ -2,7 +2,7 @@ all:
cargo build
static:
docker run -v $(CURDIR):/volume --rm -t clux/muslrust:stable cargo build --release
CARGO_BUILD_TARGET=x86_64-unknown-linux-musl cargo build --release
check-static:
ldd target/x86_64-unknown-linux-musl/release/sip-tarpit