Skip to content

Commit 31cbde0

Browse files
compiler: Add rustc_abi to _monomorphize
1 parent 4046e36 commit 31cbde0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -4132,6 +4132,7 @@ dependencies = [
41324132
name = "rustc_monomorphize"
41334133
version = "0.0.0"
41344134
dependencies = [
4135+
"rustc_abi",
41354136
"rustc_data_structures",
41364137
"rustc_errors",
41374138
"rustc_fluent_macro",

compiler/rustc_monomorphize/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
# tidy-alphabetical-start
8+
rustc_abi = { path = "../rustc_abi" }
89
rustc_data_structures = { path = "../rustc_data_structures" }
910
rustc_errors = { path = "../rustc_errors" }
1011
rustc_fluent_macro = { path = "../rustc_fluent_macro" }

compiler/rustc_monomorphize/src/collector.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ mod move_check;
210210
use std::path::PathBuf;
211211

212212
use move_check::MoveCheckState;
213+
use rustc_abi::Size;
213214
use rustc_data_structures::sync::{LRef, MTLock, par_for_each_in};
214215
use rustc_data_structures::unord::{UnordMap, UnordSet};
215216
use rustc_hir as hir;
@@ -236,7 +237,6 @@ use rustc_session::config::EntryFnType;
236237
use rustc_span::source_map::{Spanned, dummy_spanned, respan};
237238
use rustc_span::symbol::{Ident, sym};
238239
use rustc_span::{DUMMY_SP, Span};
239-
use rustc_target::abi::Size;
240240
use tracing::{debug, instrument, trace};
241241

242242
use crate::errors::{self, EncounteredErrorWhileInstantiating, NoOptimizedMir, RecursionLimit};

0 commit comments

Comments
 (0)