amethyst / amethyst/bracket-lib

Compile problem with wasm32 using bracket-terminal 0.8.7

オープン
#301 コメント 11 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。