Skip to content

Commit a41bedb

Browse files
committed
Make libsyntax compile as standalone
1 parent c1c60d2 commit a41bedb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustc_data_structures/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#![feature(core_intrinsics)]
2424
#![feature(integer_atomics)]
2525

26-
#![cfg_attr(unix, feature(libc))]
26+
#![cfg_attr(unix, feature(libc, rustc_private))]
2727
#![cfg_attr(test, feature(test))]
2828

2929
#![deny(rust_2018_idioms)]

src/libsyntax/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#![feature(step_trait)]
2020
#![feature(try_trait)]
2121
#![feature(unicode_internals)]
22+
#![feature(rustc_private)]
2223

2324
#![recursion_limit="256"]
2425

0 commit comments

Comments
 (0)