parent
5734145e8f
commit
8cccc82fc2
14 changed files with 40 additions and 20 deletions
@ -1,3 +1,9 @@ |
||||
[build] |
||||
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", |
||||
] |
||||
|
@ -1,9 +1,8 @@ |
||||
use std::net::Ipv4Addr; |
||||
use uuid::Uuid; |
||||
|
||||
pub const MASTER_SERVER: Ipv4Addr = Ipv4Addr::LOCALHOST; //Ipv4Addr::new(3,9,16,40)
|
||||
pub const MASTER_SERVER: &str = "127.0.0.1"; //Ipv4Addr::new(3,9,16,40)
|
||||
pub const MASTER_PORT: u16 = 63714; |
||||
|
||||
lazy_static! { |
||||
pub static ref UID: Uuid = Uuid::new_v4(); |
||||
} |
||||
} |
||||
|
@ -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