From 7c4d02eb6dac9127c97fe01b50a2e5ab15a50474 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Sat, 28 Jan 2023 13:03:01 +0100 Subject: [PATCH] deps: Add custom libc for squiid target Signed-off-by: Christoph Heiss --- Cargo.lock | 5 ++--- Cargo.toml | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 684f0b6498e..0da926df223 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2337,9 +2337,8 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.137" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" +version = "0.2.139" +source = "git+https://git.c8h4.io/squiid/libc?branch=target/squiid#6ef1e097017f70f9e3996ddb3c16d20fd2f80194" dependencies = [ "rustc-std-workspace-core", ] diff --git a/Cargo.toml b/Cargo.toml index 15cbb2659c9..dca04060ece 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,5 +115,7 @@ rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' } rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' } rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' } +libc = { git = 'https://git.c8h4.io/squiid/libc', branch = 'target/squiid' } + [patch."https://github.com/rust-lang/rust-clippy"] clippy_lints = { path = "src/tools/clippy/clippy_lints" }