Skip to content

Commit

Permalink
fix(core): remove #![feature(untagged_unions)]
Browse files Browse the repository at this point in the history
Unions with `impl Copy` and `ManuallyDrop` fields have been stabilized
by [rust-lang/rust#77547][1] back in 2020, making enabling the feature
already unnecessary for us. A few more field types have been added to
the allowlist later by [rust-lang/rust#97995][2], which also removed the
feature as there was no intent to stabilize more field types.

[1]: rust-lang/rust#77547
[2]: rust-lang/rust#97995
  • Loading branch information
yvt committed Aug 13, 2022
1 parent da74643 commit 5cfbfbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/r3_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#![feature(const_trait_impl)]
#![feature(const_ptr_write)]
#![feature(core_intrinsics)]
#![feature(untagged_unions)] // `union` with non-`Copy` fields
#![feature(assert_matches)]
#![feature(const_mut_refs)]
#![feature(const_ptr_read)]
Expand Down

0 comments on commit 5cfbfbd

Please sign in to comment.