From b81575363352a6c08fc0c6301d31f935d19f3e2a Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Fri, 2 Dec 2022 08:25:55 -0700 Subject: [PATCH] Add patched libc crate --- .cargo/config | 4 ++++ recipes/cosmic-text/.cargo/config | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 recipes/cosmic-text/.cargo/config diff --git a/.cargo/config b/.cargo/config index 424d66065..bb5816a4e 100644 --- a/.cargo/config +++ b/.cargo/config @@ -9,3 +9,7 @@ rustflags = [] [target.x86_64-unknown-redox] linker = "x86_64-unknown-redox-gcc" rustflags = [] + +# TODO: remove patch if https://github.com/rust-lang/libc/pull/3024 is released +[patch.crates-io] +libc = { git = "https://gitlab.redox-os.org/redox-os/liblibc.git", branch = "rust-2022-03-18" } diff --git a/recipes/cosmic-text/.cargo/config b/recipes/cosmic-text/.cargo/config deleted file mode 100644 index b0e8868a8..000000000 --- a/recipes/cosmic-text/.cargo/config +++ /dev/null @@ -1,2 +0,0 @@ -[patch.crates-io] -libc = { git = "https://gitlab.redox-os.org/redox-os/liblibc.git", branch = "redox-0.2.136" } -- GitLab