1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
youki/crates/libcontainer
dependabot[bot] c381aca2ad
chore(deps): bump the patch group with 6 updates
Bumps the patch group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [libc](https://github.com/rust-lang/libc) | `0.2.150` | `0.2.151` |
| [anstyle-query](https://github.com/rust-cli/anstyle) | `1.0.1` | `1.0.2` |
| [itoa](https://github.com/dtolnay/itoa) | `1.0.9` | `1.0.10` |
| [ryu](https://github.com/dtolnay/ryu) | `1.0.15` | `1.0.16` |
| [try-lock](https://github.com/seanmonstar/try-lock) | `0.2.4` | `0.2.5` |
| [winnow](https://github.com/winnow-rs/winnow) | `0.5.25` | `0.5.26` |


Updates `libc` from 0.2.150 to 0.2.151
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.150...0.2.151)

Updates `anstyle-query` from 1.0.1 to 1.0.2
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.0.1...anstyle-query-v1.0.2)

Updates `itoa` from 1.0.9 to 1.0.10
- [Release notes](https://github.com/dtolnay/itoa/releases)
- [Commits](https://github.com/dtolnay/itoa/compare/1.0.9...1.0.10)

Updates `ryu` from 1.0.15 to 1.0.16
- [Release notes](https://github.com/dtolnay/ryu/releases)
- [Commits](https://github.com/dtolnay/ryu/compare/1.0.15...1.0.16)

Updates `try-lock` from 0.2.4 to 0.2.5
- [Commits](https://github.com/seanmonstar/try-lock/compare/v0.2.4...v0.2.5)

Updates `winnow` from 0.5.25 to 0.5.26
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md)
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.25...v0.5.26)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: anstyle-query
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: itoa
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: ryu
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: try-lock
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: winnow
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 00:57:07 +00:00
..
src Rust 1.74.1 (#2557) 2023-12-08 22:26:19 +09:00
Cargo.toml chore(deps): bump the patch group with 6 updates 2023-12-11 00:57:07 +00:00
README.md podman rootless with dbus native (#2370) 2023-10-05 21:08:06 +09:00

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