bevy/crates/bevy_ecs/src
François Mockers 7a7bff8c17
Hot patching systems with subsecond (#19309)
# Objective

- Enable hot patching systems with subsecond
- Fixes #19296 

## Solution

- First commit is the naive thin layer
- Second commit only check the jump table when the code is hot patched
instead of on every system execution
- Depends on https://github.com/DioxusLabs/dioxus/pull/4153 for a nicer
API, but could be done without
- Everything in second commit is feature gated, it has no impact when
the feature is not enabled

## Testing

- Check dependencies without the feature enabled: nothing dioxus in tree
- Run the new example: text and color can be changed

---------

Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
2025-06-03 21:12:38 +00:00
..
entity Remove invalid entity locations (#19433) 2025-05-31 16:34:33 +00:00
error More uninlined_format_args fixes (#19396) 2025-05-28 02:35:18 +00:00
event Remove apostrophes in possessive its (#19244) 2025-05-26 19:53:14 +00:00
observer Hot patching systems with subsecond (#19309) 2025-06-03 21:12:38 +00:00
query Remove ArchetypeComponentId and archetype_component_access (#19143) 2025-05-27 19:04:32 +00:00
reflect Make remove_reflect parameter names consistent between ReflectCommandExt and impl for EntityCommands (#19243) 2025-05-26 19:49:56 +00:00
relationship Simplified on_replace and on_despawn relationship hooks. (#19378) 2025-06-02 22:15:18 +00:00
schedule Hot patching systems with subsecond (#19309) 2025-06-03 21:12:38 +00:00
storage Remove invalid entity locations (#19433) 2025-05-31 16:34:33 +00:00
system Hot patching systems with subsecond (#19309) 2025-06-03 21:12:38 +00:00
world Remove invalid entity locations (#19433) 2025-05-31 16:34:33 +00:00
archetype.rs Trigger ArchetypeCreated event when new archetype is created (#19455) 2025-06-02 22:27:45 +00:00
batching.rs Nonmax all rows (#19132) 2025-05-26 17:39:55 +00:00
bundle.rs Trigger ArchetypeCreated event when new archetype is created (#19455) 2025-06-02 22:27:45 +00:00
change_detection.rs Fix EntityMeta.spawned_or_despawned unsoundness (#19350) 2025-05-27 22:45:07 +00:00
component.rs refactor(utils): move SyncCell and SyncUnsafeCell to bevy_platform (#19305) 2025-05-27 04:57:26 +00:00
entity_disabling.rs
hierarchy.rs More uninlined_format_args fixes (#19396) 2025-05-28 02:35:18 +00:00
intern.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
label.rs Remove upcasting methods + Cleanup interned label code (#18984) 2025-05-26 15:38:12 +00:00
lib.rs Hot patching systems with subsecond (#19309) 2025-06-03 21:12:38 +00:00
name.rs Make entity generation a new type and remove identifier (#19121) 2025-05-08 04:03:05 +00:00
never.rs Use never_say_never hack to work around Rust 2024 regression for fn traits (#18804) 2025-04-14 19:59:48 +00:00
removal_detection.rs
resource.rs refactor(utils): move SyncCell and SyncUnsafeCell to bevy_platform (#19305) 2025-05-27 04:57:26 +00:00
spawn.rs Increase upper limit of children! (#18865) 2025-05-06 00:58:30 +00:00
traversal.rs Add missing words in Traversal doc comment (#19298) 2025-05-19 19:34:59 +00:00