Skip to content

Commit 57af02c

Browse files
committed
Link std statically in rustc_driver
1 parent 6159460 commit 57af02c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/git-rustfmt/main.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// We need this feature as it changes `dylib` linking behavior and allows us to link to
2+
// `rustc_driver`.
3+
#![feature(rustc_private)]
4+
15
#[macro_use]
26
extern crate tracing;
37

0 commit comments

Comments
 (0)