libc-test: allow deprecated functions
glibc-2.24 deprecates readdir_r() and readdir64_r()
This commit is contained in:
parent
e01321c78b
commit
0e0fb686d6
@ -10,6 +10,7 @@ fn main() {
|
||||
.flag("-Wall")
|
||||
.flag("-Wextra")
|
||||
.flag("-Werror")
|
||||
.flag("-Wno-deprecated-declarations")
|
||||
.flag("-Wno-type-limits")
|
||||
.compile("liball.a");
|
||||
}
|
||||
|
@ -64,6 +64,8 @@ fn main() {
|
||||
cfg.header("ws2tcpip.h");
|
||||
}
|
||||
} else {
|
||||
cfg.flag("-Wno-deprecated-declarations");
|
||||
|
||||
cfg.header("ctype.h");
|
||||
cfg.header("dirent.h");
|
||||
if openbsd {
|
||||
|
2
libc-test/generate-files/Cargo.lock
generated
2
libc-test/generate-files/Cargo.lock
generated
@ -22,7 +22,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
[[package]]
|
||||
name = "ctest"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/alexcrichton/ctest#7703b51086cce2d9a703b103d0695b36653b8cab"
|
||||
source = "git+https://github.com/alexcrichton/ctest#a6becb6d7fd23d9863cba86eac31d1ffc4082734"
|
||||
dependencies = [
|
||||
"gcc 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"syntex_syntax 0.19.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
Loading…
Reference in New Issue
Block a user