amethyst / amethyst/bracket-lib

Compile problem with wasm32 using bracket-terminal 0.8.7

Abierto
#301 11 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
1.7k
Forks
126
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm pulling bracket-terminal into my project as a dependency and compiling for wasm:

```
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo build --release --target wasm32-unknown-unknown
```

I'm seeing the new errors:

```
error[E0432]: unresolved imports `glow::NativeFramebuffer`, `glow::NativeTexture`
--> /home/dan/.cargo/registry/src/github.com-1ecc6299db9ec823/bracket-terminal-0.8.7/src/hal/gl_common/framebuffer.rs:3:24
|
3 | use glow::{HasContext, NativeFramebuffer, NativeTexture};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `NativeTexture` in the root
| |
| no `NativeFramebuffer` in the root

Compiling async-executor v1.4.1
error[E0609]: no field `fitscreen` on type `hal::wasm::InitHints`
--> /home/dan/.cargo/registry/src/github.com-1ecc6299db9ec823/bracket-terminal-0.8.7/src/initializer.rs:455:29
|
455 | self.platform_hints.fitscreen = fitscreen;
| ^^^^^^^^^ help: a field with a similar name exists: `fullscreen`
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.