amethyst / amethyst/bracket-lib
Compile problem with wasm32 using bracket-terminal 0.8.7
- 主要语言
- Rust
- 星标
- 1.7k
- 派生
- 126
- PR 合并指标
- 30 天内没有已合并 PR
描述
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`
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。