johanhelsing / bevy_web_asset

Bevy asset loader that transparently supports loading over http(s)
Apache License 2.0
71 stars 17 forks source link

Doesn't build on stable rust #27

Closed johanhelsing closed 6 months ago

johanhelsing commented 6 months ago
bevy_web_asset main↑1 cargo run --example web_image
    Blocking waiting for file lock on build directory
   Compiling proc-macro2 v1.0.78
   Compiling thiserror v1.0.57
   Compiling num-traits v0.2.18
   Compiling aho-corasick v1.1.2
   Compiling windows v0.52.0
   Compiling crc32fast v1.4.0
   Compiling khronos-egl v6.0.0
   Compiling miniz_oxide v0.7.2
   Compiling profiling v1.0.15
   Compiling ring v0.16.20
   Compiling fdeflate v0.3.4
   Compiling blake3 v1.5.0
   Compiling polling v2.8.0
   Compiling rustix v0.37.27
   Compiling anyhow v1.0.80
   Compiling accesskit_consumer v0.16.1
error[E0554]: `#![feature]` may not be used on the stable release channel
   --> C:\Users\Johan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustix-0.37.27\src\lib.rs:101:26
    |
101 | #![cfg_attr(rustc_attrs, feature(rustc_attrs))]
    |                          ^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `rustix` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
johanhelsing commented 6 months ago

https://github.com/bytecodealliance/rustix/issues/526

Running cargo clean solved it for me.