Update libc
This commit is contained in:
parent
4f5b90400e
commit
acafb83a63
4 changed files with 5 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2,9 +2,9 @@
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.68"
|
version = "0.2.69"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0"
|
checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "neco"
|
name = "neco"
|
||||||
|
|
4
safe_libc/Cargo.lock
generated
4
safe_libc/Cargo.lock
generated
|
@ -2,9 +2,9 @@
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.68"
|
version = "0.2.69"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0"
|
checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "safe_libc"
|
name = "safe_libc"
|
||||||
|
|
|
@ -7,4 +7,4 @@ edition = "2018"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = { version = "0.2.68", default-features = false }
|
libc = { version = "0.2.69", default-features = false }
|
||||||
|
|
|
@ -15,8 +15,6 @@ pub mod stdio;
|
||||||
pub mod string;
|
pub mod string;
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn strndup(cs: *const libc::c_char, n: libc::size_t) -> *mut libc::c_char;
|
|
||||||
|
|
||||||
// pub static stdin: *mut libc::FILE;
|
// pub static stdin: *mut libc::FILE;
|
||||||
pub static stdout: *mut libc::FILE;
|
pub static stdout: *mut libc::FILE;
|
||||||
pub static stderr: *mut libc::FILE;
|
pub static stderr: *mut libc::FILE;
|
||||||
|
|
Reference in a new issue