diff --git a/.cargo/config b/.cargo/config index 424d6606..bb5816a4 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 b0e8868a..00000000 --- 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" }