Make system stepping a runtime setting instead of a compile-time feature

Abierto
#26,326 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
backend, devtools

Línea de trabajo

Start by reading the stepping feature and handlers in bevy_ecs and bevy_remote, then trace how bevy_inspector invokes them. The issue suggests moving stepping to a runtime setting and possibly grouping dev-only ECS features, but leaves the design open. Done means remote clients can use stepping without enabling it for the whole app, with the runtime and release-build behavior agreed and covered.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

A-Dev-Tools A-ECS D-Modest S-Needs-Design X-Contentious

System stepping is controlled by the bevy_debug_stepping feature, which turns stepping on for the whole app. Because bevy_remote gates its stepping methods behind the same feature, a remote client like the inspector could only use them by enabling stepping in its own app (#26200 now keeps only the handlers gated).

Stepping should probably be a runtime setting, maybe as part of a set of dev-only ECS features that can be turned off in release builds to reduce attack surface and binary size. This touches bevy_ecs, bevy_remote and bevy_inspector.

Raised by alice-i-cecile on #26200.

Lenguaje dominante
Rust
Estrellas
49.7k
Forks
5k
Merge medio
3 d 19 h
PR fusionados (30 d)
134

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bevyengine/bevy

Todos los issues de bevyengine/bevy

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.