Use patched libc for Redox

This commit is contained in:
Jeremy Soller 2024-01-03 10:09:41 -07:00
parent b4e2f6bd0e
commit ef1e03e566
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 3 additions and 2 deletions

3
Cargo.lock generated
View file

@ -2494,8 +2494,7 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
[[package]]
name = "libc"
version = "0.2.151"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
source = "git+https://gitlab.redox-os.org/redox-os/liblibc.git?branch=redox_0.2.151#a6191c5f6f4e1a737eff83728173e2939211a6d2"
[[package]]
name = "libcosmic"

View file

@ -32,6 +32,8 @@ default = ["wgpu"]
wgpu = ["libcosmic/wgpu"]
[patch.crates-io]
# https://github.com/rust-lang/libc/pull/3512
libc = { git = "https://gitlab.redox-os.org/redox-os/liblibc.git", branch = "redox_0.2.151" }
smithay-client-toolkit = { git = "https://github.com/pop-os/client-toolkit", branch = "wayland-resize" }
[profile.release-with-debug]