diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-02 14:42:15 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-07 19:53:04 +0200 |
| commit | 81a600b6b7db07ebac28c8ddedd357e3c5b9951d (patch) | |
| tree | dc9bf55bd478ff63cd26ab0464be90579d4e14d0 /compiler/rustc_interface | |
| parent | bba4be681d664a50ab307ec732f957c02255e067 (diff) | |
| download | rust-81a600b6b7db07ebac28c8ddedd357e3c5b9951d.tar.gz rust-81a600b6b7db07ebac28c8ddedd357e3c5b9951d.zip | |
Move monomorphize code to its own crate.
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/Cargo.toml | 1 | ||||
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_interface/Cargo.toml b/compiler/rustc_interface/Cargo.toml index 8b277269258..306728dbeac 100644 --- a/compiler/rustc_interface/Cargo.toml +++ b/compiler/rustc_interface/Cargo.toml @@ -35,6 +35,7 @@ rustc_metadata = { path = "../rustc_metadata" } rustc_mir = { path = "../rustc_mir" } rustc_mir_build = { path = "../rustc_mir_build" } rustc_mir_transform = { path = "../rustc_mir_transform" } +rustc_monomorphize = { path = "../rustc_monomorphize" } rustc_passes = { path = "../rustc_passes" } rustc_typeck = { path = "../rustc_typeck" } rustc_lint = { path = "../rustc_lint" } diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 7d41db0d4ae..547823a067c 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -743,6 +743,7 @@ pub static DEFAULT_QUERY_PROVIDERS: SyncLazy<Providers> = SyncLazy::new(|| { mir_borrowck::provide(providers); mir_build::provide(providers); rustc_mir_transform::provide(providers); + rustc_monomorphize::provide(providers); rustc_privacy::provide(providers); typeck::provide(providers); ty::provide(providers); |
