mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
parent
3a6814770a
commit
37f283688a
@ -22,7 +22,10 @@ async fn run() {
|
||||
pub fn main() {
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
{
|
||||
env_logger::init();
|
||||
env_logger::builder()
|
||||
.filter(Some(module_path!()), log::LevelFilter::Info)
|
||||
.parse_default_env()
|
||||
.init();
|
||||
pollster::block_on(run());
|
||||
}
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
|
Loading…
Reference in New Issue
Block a user