mirror of
https://github.com/containers/youki
synced 2025-04-04 22:59:11 +02:00
Bumps the patch group with 2 updates: [nc](https://github.com/xushaohua/nc) and [flate2](https://github.com/rust-lang/flate2-rs). Updates `nc` from 0.9.5 to 0.9.6 - [Commits](https://github.com/xushaohua/nc/compare/v0.9.5...v0.9.6) Updates `flate2` from 1.1.0 to 1.1.1 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.0...1.1.1) --- updated-dependencies: - dependency-name: nc dependency-version: 0.9.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: flate2 dependency-version: 1.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
libcontainer
Building with musl
In order to build with musl you must first remove the libseccomp dependency as it will reference shared libraries (libseccomp
) which cannot be built with musl.
Do this by using adding flags to Cargo. Use the --no-default-features
flag followed by -F
and whatever features you intend to build with such as v2
as defined in Cargo.toml under features section.
Next you will also need the +nightly
flags when building with rustup
and cargo
.
# Add rustup +nightly musl to toolchain
rustup +nightly target add $(uname -m)-unknown-linux-musl
# Build rustup +nightly stdlib with musl
rustup +nightly toolchain install nightly-$(uname -m)-unknown-linux-musl
# Build musl standard library
cargo +nightly build -Zbuild-std --target $(uname -m)-unknown-linux-musl --no-default-features -F v2
cargo +nightly build --target $(uname -m)-unknown-linux-musl --no-default-features -F v2