Skip to content

Commit

Permalink
Remove memoffset dependency from rustc_query_impl.
Browse files Browse the repository at this point in the history
The comment explains it's for `unstable_offset_of`, but `offset_of` is
now stable.
  • Loading branch information
nnethercote committed Oct 25, 2023
1 parent 6261a03 commit af7ddfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4413,7 +4413,6 @@ version = "0.0.0"
dependencies = [
"field-offset",
"measureme",
"memoffset",
"rustc-rayon-core",
"rustc_data_structures",
"rustc_errors",
Expand Down
3 changes: 0 additions & 3 deletions compiler/rustc_query_impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit af7ddfb

Please sign in to comment.