1
Fork 0

Link std statically in rustc_driver

This commit is contained in:
John Kåre Alsaker 2024-03-12 02:12:28 +01:00
parent 730d5d4095
commit 3ee43259ac
9 changed files with 70 additions and 11 deletions

View file

@ -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)]
// A note about jemalloc: rustc uses jemalloc when built for CI and
// distribution. The obvious way to do this is with the `#[global_allocator]`
// mechanism. However, for complicated reasons (see