Skip to content

Commit dc60d2c

Browse files
authored
Merge pull request #3 from hatoo/wasm
support wasn32
2 parents 0b3038c + 7458bd7 commit dc60d2c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.wasm32-unknown-unknown]
2+
runner = "wasm-server-runner"

src/main.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
use std::{
2-
collections::VecDeque,
3-
time::{Duration, Instant},
4-
};
1+
use std::collections::VecDeque;
2+
3+
use bevy::utils::{Duration, Instant};
54

65
use bevy::{
76
diagnostic::{DiagnosticsStore, EntityCountDiagnosticsPlugin, FrameTimeDiagnosticsPlugin},

0 commit comments

Comments
 (0)