Skip to content

Commit 28e60de

Browse files
committed
Remove memoffset dependency from rustc_query_impl.
The comment explains it's for `unstable_offset_of`, but `offset_of` is now stable.
1 parent ec2b311 commit 28e60de

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -4412,7 +4412,6 @@ version = "0.0.0"
44124412
dependencies = [
44134413
"field-offset",
44144414
"measureme",
4415-
"memoffset",
44164415
"rustc-rayon-core",
44174416
"rustc_data_structures",
44184417
"rustc_errors",

compiler/rustc_query_impl/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ rustc_span = { path = "../rustc_span" }
2222
thin-vec = "0.2.12"
2323
tracing = "0.1"
2424

25-
# Not used directly, but included to enable the unstable_offset_of feature
26-
memoffset = { version = "0.9.0", features = ["unstable_offset_of"] }
27-
2825
[features]
2926
rustc_use_parallel_compiler = ["rustc-rayon-core", "rustc_query_system/rustc_use_parallel_compiler"]

0 commit comments

Comments
 (0)