1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Exclude take_app from wasm32 in egui_kittest (#8178)

Otherwise `egui` won't compile for `wasm32` targets anymore.

A bit odd that this was not caught in CI.
This commit is contained in:
Jochen Görtler
2026-05-19 18:00:50 +02:00
committed by GitHub
parent 9650ef85d6
commit 07c6e0de0f
3 changed files with 3 additions and 1 deletions

View File

@@ -711,7 +711,7 @@ impl<'a, State> Harness<'a, State> {
/// Then write a `fn main()` in the test file that invokes your test directly.
///
/// See also: <https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-harness-field>
#[cfg(feature = "eframe")]
#[cfg(all(feature = "eframe", not(target_arch = "wasm32")))]
#[deprecated = "Only for debugging, don't commit this."]
pub fn spawn_eframe_app(self)
where