generated from PlexSheep/rs-base
refactor: add compile error for wasm target
Some checks failed
cargo devel CI / cargo CI (push) Has been cancelled
Some checks failed
cargo devel CI / cargo CI (push) Has been cancelled
This commit is contained in:
parent
647319faad
commit
a68f40a2a6
1 changed files with 4 additions and 0 deletions
|
@ -24,3 +24,7 @@ fn main() -> eframe::Result {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: add a main for compiling to wasm
|
// TODO: add a main for compiling to wasm
|
||||||
|
#[cfg(target_arch = "wasm32")]
|
||||||
|
fn main() {
|
||||||
|
compile_error!("compiling for wasm is not implemented")
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue