Skip to content

Declare the debug feature required by the planets example - #80

Closed
SindSieEcht wants to merge 1 commit into
aevyrie:bevy-0.19from
SindSieEcht:bevy-0.19-planets-required-features
Closed

SindSieEcht wants to merge 1 commit into
aevyrie:bevy-0.19from
SindSieEcht:bevy-0.19-planets-required-features

Conversation

@SindSieEcht

Copy link
Copy Markdown

examples/planets.rs uses BigSpaceDebugPlugins, which is gated behind the debug feature, but the example's manifest entry only declares required-features = ["camera"].

cargo run --example planets --features camera therefore fails to compile with E0433 instead of being skipped:

error[E0433]: cannot find type `BigSpaceDebugPlugins` in this scope
  --> examples/planets.rs:29:13

One-line manifest fix, same class of defect as #79 (which covers the error example). Verified on bevy-0.19 at 5f25522: with this change cargo run --example planets --features camera,debug builds and opens a window.

planets.rs uses BigSpaceDebugPlugins, which is gated behind the debug
feature, but the example only declares required-features = ["camera"].
cargo run --example planets --features camera therefore fails to compile
with E0433 rather than being skipped. Same class of defect as #79.
@SindSieEcht SindSieEcht closed this by deleting the head repository Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant