Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/bevy_ecs/src/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,8 @@ impl EntityMeta {

/// A location of an entity in an archetype.
#[derive(Copy, Clone, Debug, PartialEq)]
// Specifying alignment helps codegen around `UnsafeEntityCell`.
#[repr(align(8))]
pub struct EntityLocation {
/// The ID of the [`Archetype`] the [`Entity`] belongs to.
///
Expand Down
Loading