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

kittest: No debug_open_snapshot on wasm (#7606)

This commit is contained in:
Emil Ernerfeldt
2025-10-08 11:47:34 +02:00
committed by GitHub
parent 3fdc5641aa
commit 4d4f90eb31
3 changed files with 7 additions and 3 deletions

View File

@@ -641,6 +641,7 @@ impl<State> Harness<'_, State> {
/// This method is marked as deprecated to trigger errors in CI (so that it's not accidentally
/// committed).
#[deprecated = "Only for debugging, don't commit this."]
#[cfg(not(target_arch = "wasm32"))]
pub fn debug_open_snapshot(&mut self) {
let image = self
.render()