diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-11-02 20:28:24 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-11-02 20:31:47 -0700 |
| commit | 31cbde037bd58aa5536970dad8bf8dd17e392f3d (patch) | |
| tree | 29085c80dc68d18b93e0659be2707ce2489e4ec9 | |
| parent | 4046e3610c0db18aeffe0c885fe6e62f2c823344 (diff) | |
| download | rust-31cbde037bd58aa5536970dad8bf8dd17e392f3d.tar.gz rust-31cbde037bd58aa5536970dad8bf8dd17e392f3d.zip | |
compiler: Add rustc_abi to _monomorphize
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | compiler/rustc_monomorphize/Cargo.toml | 1 | ||||
| -rw-r--r-- | compiler/rustc_monomorphize/src/collector.rs | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock index 93c47a10b62..e7c1fbd2638 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4132,6 +4132,7 @@ dependencies = [ name = "rustc_monomorphize" version = "0.0.0" dependencies = [ + "rustc_abi", "rustc_data_structures", "rustc_errors", "rustc_fluent_macro", diff --git a/compiler/rustc_monomorphize/Cargo.toml b/compiler/rustc_monomorphize/Cargo.toml index c7f1b9fa784..6c881fd7e06 100644 --- a/compiler/rustc_monomorphize/Cargo.toml +++ b/compiler/rustc_monomorphize/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] # tidy-alphabetical-start +rustc_abi = { path = "../rustc_abi" } rustc_data_structures = { path = "../rustc_data_structures" } rustc_errors = { path = "../rustc_errors" } rustc_fluent_macro = { path = "../rustc_fluent_macro" } diff --git a/compiler/rustc_monomorphize/src/collector.rs b/compiler/rustc_monomorphize/src/collector.rs index 8df6e63deeb..50bab0da606 100644 --- a/compiler/rustc_monomorphize/src/collector.rs +++ b/compiler/rustc_monomorphize/src/collector.rs @@ -210,6 +210,7 @@ mod move_check; use std::path::PathBuf; use move_check::MoveCheckState; +use rustc_abi::Size; use rustc_data_structures::sync::{LRef, MTLock, par_for_each_in}; use rustc_data_structures::unord::{UnordMap, UnordSet}; use rustc_hir as hir; @@ -236,7 +237,6 @@ use rustc_session::config::EntryFnType; use rustc_span::source_map::{Spanned, dummy_spanned, respan}; use rustc_span::symbol::{Ident, sym}; use rustc_span::{DUMMY_SP, Span}; -use rustc_target::abi::Size; use tracing::{debug, instrument, trace}; use crate::errors::{self, EncounteredErrorWhileInstantiating, NoOptimizedMir, RecursionLimit}; |
