parent
5734145e8f
commit
8cccc82fc2
14 changed files with 40 additions and 20 deletions
@ -1,3 +1,9 @@ |
|||||||
[build] |
[build] |
||||||
target = "x86_64-unknown-linux-musl" |
target = "x86_64-unknown-linux-musl" |
||||||
rustflags = ["-C", "target-feature=+crt-static"] |
|
||||||
|
[target.x86_64-unknown-linux-musl] |
||||||
|
rustflags = [ |
||||||
|
"-Ctarget-feature=+crt-static", |
||||||
|
"-Clink-args=-Istatic/include", |
||||||
|
"-L", "static/lib", |
||||||
|
] |
||||||
|
@ -0,0 +1,11 @@ |
|||||||
|
#!/bin/bash |
||||||
|
set -e |
||||||
|
source $(dirname $0)/rootdir.sh #set ROOTDIR |
||||||
|
docker run \ |
||||||
|
-v $ROOTDIR:/volume \ |
||||||
|
-v cargo-cache:/root/.cargo/registry \ |
||||||
|
-w /volume \ |
||||||
|
-it \ |
||||||
|
test/musllibs \ |
||||||
|
cargo $@ |
||||||
|
|
Loading…
Reference in new issue