about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2024-03-12 02:12:28 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2024-08-11 04:16:53 +0200
commit837d9045c5cf40b2ebf4b4ae2a02f35f8c7e0825 (patch)
tree4b1d3fb737f53a0149ddf7ef9c479808d74ec161 /src
parent917ad034cc89ecdde85771238d0d8f89813290fb (diff)
Link `std` statically in `rustc_driver`
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index c9af2138a72..c9853e53f3b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,6 @@
+// We need this feature as it changes `dylib` linking behavior and allows us to link to
+// `rustc_driver`.
+#![feature(rustc_private)]
 // warn on lints, that are included in `rust-lang/rust`s bootstrap
 #![warn(rust_2018_idioms, unused_lifetimes)]