diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2024-03-12 02:12:28 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2024-08-11 04:16:53 +0200 |
| commit | 837d9045c5cf40b2ebf4b4ae2a02f35f8c7e0825 (patch) | |
| tree | 4b1d3fb737f53a0149ddf7ef9c479808d74ec161 /src | |
| parent | 917ad034cc89ecdde85771238d0d8f89813290fb (diff) | |
Link `std` statically in `rustc_driver`
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 3 |
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)] |
