bevy_ui
does not compile without bevy_text
feature #11363
Closed
Description
Bevy version
main (ee9a1503edb6ff72cc69514c6336d9f624f0d600
)
What you did
Run cargo build -p bevy_ui
What went wrong
Compiling bevy_ui v0.12.0 (/home/chrisjuchem/bevy/crates/bevy_ui)
error[E0425]: cannot find value `text_system` in module `widget`
--> crates/bevy_ui/src/lib.rs:200:45
|
200 | .ambiguous_with(widget::text_system),
| ^^^^^^^^^^^ not found in `widget`
error[E0425]: cannot find value `text_system` in module `widget`
--> crates/bevy_ui/src/lib.rs:207:45
|
207 | .ambiguous_with(widget::text_system),
| ^^^^^^^^^^^ not found in `widget`
For more information about this error, try `rustc --explain E0425`.
error: could not compile `bevy_ui` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Additional information
Looks like this system only exists behind the bevy_text
feature, but the ambiguity declaration was not put behind the same feature in #10411.
Building succeeds with cargo build -p bevy_ui --features bevy_text
.