Browse Source

Update libc to the upstream

Our PR merged.
pull/33/head
AzureMarker 3 years ago
parent
commit
1402dacc5f
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 4
      Cargo.toml
  2. 2
      ctru-rs/Cargo.toml
  3. 2
      ctru-sys/Cargo.toml

4
Cargo.toml

@ -1,6 +1,2 @@
[workspace] [workspace]
members = ["ctru-rs", "ctru-sys"] 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" }

2
ctru-rs/Cargo.toml

@ -16,7 +16,7 @@ ctru-sys = { path = "../ctru-sys", version = "0.4" }
const-zero = "0.1.0" const-zero = "0.1.0"
linker-fix-3ds = { git = "https://github.com/Meziu/rust-linker-fix-3ds.git" } linker-fix-3ds = { git = "https://github.com/Meziu/rust-linker-fix-3ds.git" }
pthread-3ds = { git = "https://github.com/Meziu/pthread-3ds.git" } pthread-3ds = { git = "https://github.com/Meziu/pthread-3ds.git" }
libc = "0.2" libc = "0.2.116"
bitflags = "1.0.0" bitflags = "1.0.0"
widestring = "0.2.2" widestring = "0.2.2"

2
ctru-sys/Cargo.toml

@ -7,4 +7,4 @@ links = "ctru"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
libc = { version = "0.2", default-features = false } libc = { version = "0.2.116", default-features = false }

Loading…
Cancel
Save