mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30: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:
@@ -211,6 +211,7 @@ impl<State> HarnessBuilder<State> {
|
||||
|
||||
let kind = AppKind::Eframe(AppKindEframe {
|
||||
get_app: |state| state,
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
take_app: |state| Box::new(state),
|
||||
frame,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user