hecrj / wgpu_glyph

A fast text renderer for wgpu (https://github.com/gfx-rs/wgpu)
https://docs.rs/wgpu_glyph
MIT License
441 stars 77 forks source link

error: could not compile `wgpu` #65

Closed imokoi closed 3 years ago

imokoi commented 3 years ago
   Compiling wgpu v0.7.1
error[E0658]: use of unstable library feature 'future_readiness_fns'
  --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:17:14
   |
17 |     future::{ready, Ready},
   |              ^^^^^
   |
   = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error[E0658]: use of unstable library feature 'future_readiness_fns'
  --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:17:21
   |
17 |     future::{ready, Ready},
   |                     ^^^^^
   |
   = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:657:33
    |
657 |     type RequestAdapterFuture = Ready<Option<Self::AdapterId>>;
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:659:9
    |
659 |         Ready<Result<(Self::DeviceId, Self::QueueId), crate::RequestDeviceError>>;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:688:9
    |
688 |         ready(id.ok())
    |         ^^^^^
    |
    = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /Users/tiantengfei/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.7.1/src/backend/direct.rs:712:9
    |
712 |         ready(Ok((device, device_id)))
    |         ^^^^^
    |
    = note: see issue #70921 <https://github.com/rust-lang/rust/issues/70921> for more information

error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `wgpu`.

To learn more, run the command again with --verbose.