From 9d939bab5f2d1e8b472705c443eea18ece767628 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Thu, 28 Nov 2024 12:51:18 +0800 Subject: [PATCH] for testing only --- library/Cargo.lock | 19 +++++++++---------- library/Cargo.toml | 3 +++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/library/Cargo.lock b/library/Cargo.lock index c00e39f70a467..a09545c7b79e8 100644 --- a/library/Cargo.lock +++ b/library/Cargo.lock @@ -36,15 +36,15 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9" [[package]] name = "cc" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "shlex", ] @@ -135,9 +135,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.0" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ "allocator-api2", "compiler_builtins", @@ -159,8 +159,7 @@ dependencies = [ [[package]] name = "libc" version = "0.2.166" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ccc108bbc0b1331bd061864e7cd823c0cab660bbe6970e66e2c0614decde36" +source = "git+https://github.com/tgross35/rust-libc?branch=backport-fix-rustc-dep-of-std#70b1487bb06aaaeb12df794fe9b6dda4121de591" dependencies = [ "rustc-std-workspace-core", ] @@ -405,9 +404,9 @@ dependencies = [ [[package]] name = "unwinding" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637d511437df708cee34bdec7ba2f1548d256b7acf3ff20e0a1c559f9bf3a987" +checksum = "e2c6cb20f236dae10c69b0b45d82ef50af8b7e45c10e429e7901d26b49b4dbf3" dependencies = [ "compiler_builtins", "gimli 0.31.1", diff --git a/library/Cargo.toml b/library/Cargo.toml index e744cfe5e0f57..d93077c27bef3 100644 --- a/library/Cargo.toml +++ b/library/Cargo.toml @@ -45,3 +45,6 @@ rustc-demangle.debug = 0 rustc-std-workspace-core = { path = 'rustc-std-workspace-core' } rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' } rustc-std-workspace-std = { path = 'rustc-std-workspace-std' } +libc = { git = "https://github.com/tgross35/rust-libc", branch = "backport-fix-rustc-dep-of-std", default-features = false, features = [ + 'rustc-dep-of-std', +], public = true }