# rust-fc-demo **Repository Path**: kkbt/rust-fc-demo ## Basic Information - **Project Name**: rust-fc-demo - **Description**: rust-fc-demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-09-11 - **Last Updated**: 2023-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Building 1. `./scripts/build.sh` # kkbt rustup target add x86_64-unknown-linux-musl cargo build --release --target x86_64-unknown-linux-musl cargo build --target x86_64-unknown-linux-musl ./.cargo/config + ``` [target.x86_64-unknown-linux-musl] linker = "rust-lld" ``` ldd target/x86_64-unknown-linux-musl/release/server ldd target/x86_64-unknown-linux-gnu/release/server musl: statically linked gnu: ``` linux-vdso.so.1 (0x00007fff1f9ce000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f5da2199000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f5da20b1000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f5da1c19000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5da21e5000) ```