Link std
statically in rustc_driver
This commit is contained in:
parent
917ad034cc
commit
837d9045c5
@ -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 on lints, that are included in `rust-lang/rust`s bootstrap
|
||||||
#![warn(rust_2018_idioms, unused_lifetimes)]
|
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||||
|
|
||||||
|
@ -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(rust_2018_idioms, unused_lifetimes)]
|
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||||
#![allow(unused_extern_crates)]
|
#![allow(unused_extern_crates)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user