From 28e60de4879786a02c215f83f8ba96f474bcbcaa Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 23 Oct 2023 11:13:39 +1100 Subject: [PATCH] Remove `memoffset` dependency from `rustc_query_impl`. The comment explains it's for `unstable_offset_of`, but `offset_of` is now stable. --- Cargo.lock | 1 - compiler/rustc_query_impl/Cargo.toml | 3 --- 2 files changed, 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0761268c9d41..2b1e918e2f5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4412,7 +4412,6 @@ version = "0.0.0" dependencies = [ "field-offset", "measureme", - "memoffset", "rustc-rayon-core", "rustc_data_structures", "rustc_errors", diff --git a/compiler/rustc_query_impl/Cargo.toml b/compiler/rustc_query_impl/Cargo.toml index a350e8b2e3a4..dac86116d5b6 100644 --- a/compiler/rustc_query_impl/Cargo.toml +++ b/compiler/rustc_query_impl/Cargo.toml @@ -22,8 +22,5 @@ rustc_span = { path = "../rustc_span" } thin-vec = "0.2.12" tracing = "0.1" -# Not used directly, but included to enable the unstable_offset_of feature -memoffset = { version = "0.9.0", features = ["unstable_offset_of"] } - [features] rustc_use_parallel_compiler = ["rustc-rayon-core", "rustc_query_system/rustc_use_parallel_compiler"]