Rollup merge of #112298 - est31:update_field_offset, r=Mark-Simulacrum
Update field-offset and enable unstable_offset_of This makes the compiler use the builtin `offset_of!()` macro, through the wrappers in memoffset and then in field-offset. cc #111839
This commit is contained in:
commit
e3656ff9fd
2 changed files with 17 additions and 6 deletions
|
@ -7,7 +7,6 @@ edition = "2021"
|
|||
|
||||
|
||||
[dependencies]
|
||||
memoffset = { version = "0.8.0", features = ["unstable_const"] }
|
||||
field-offset = "0.3.5"
|
||||
measureme = "10.0.0"
|
||||
rustc_ast = { path = "../rustc_ast" }
|
||||
|
@ -25,5 +24,8 @@ 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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue