Skip to content

Commit 8bd1f78

Browse files
committed
fix libc feature gate
1 parent 0610a81 commit 8bd1f78

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/run-pass/foreign-fn-linkname.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//ignore-windows: Uses POSIX APIs
1212

13-
#![feature(libc)]
13+
#![feature(rustc_private)]
1414
#![allow(unused_extern_crates)] // rustc bug https://github.com/rust-lang/rust/issues/56098
1515

1616
extern crate libc;

tests/run-pass/regions-mock-trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//ignore-windows: Uses POSIX APIs
1212

13-
#![feature(libc)]
13+
#![feature(rustc_private)]
1414

1515
#![allow(dead_code)]
1616

tests/run-pass/thread-local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//ignore-windows: Uses POSIX APIs
22

3-
#![feature(libc)]
3+
#![feature(rustc_private)]
44
extern crate libc;
55

66
use std::mem;

0 commit comments

Comments
 (0)