From 1402dacc5f1ad1b316c177ab6cf2e6fae91489d2 Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Sat, 29 Jan 2022 14:37:25 -0800 Subject: [PATCH] Update libc to the upstream Our PR merged. --- Cargo.toml | 4 ---- ctru-rs/Cargo.toml | 2 +- ctru-sys/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2d2d368..65c4a2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,2 @@ [workspace] members = ["ctru-rs", "ctru-sys"] - -[patch.crates-io] -# 3DS support hasn't merged into the upstream yet -libc = { git = "https://github.com/Meziu/libc.git" } diff --git a/ctru-rs/Cargo.toml b/ctru-rs/Cargo.toml index 2d81a13..1b303f3 100644 --- a/ctru-rs/Cargo.toml +++ b/ctru-rs/Cargo.toml @@ -16,7 +16,7 @@ ctru-sys = { path = "../ctru-sys", version = "0.4" } const-zero = "0.1.0" linker-fix-3ds = { git = "https://github.com/Meziu/rust-linker-fix-3ds.git" } pthread-3ds = { git = "https://github.com/Meziu/pthread-3ds.git" } -libc = "0.2" +libc = "0.2.116" bitflags = "1.0.0" widestring = "0.2.2" diff --git a/ctru-sys/Cargo.toml b/ctru-sys/Cargo.toml index d025871..8c059bb 100644 --- a/ctru-sys/Cargo.toml +++ b/ctru-sys/Cargo.toml @@ -7,4 +7,4 @@ links = "ctru" edition = "2021" [dependencies] -libc = { version = "0.2", default-features = false } +libc = { version = "0.2.116", default-features = false }