-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled
Description
Bevy version
main
branch, commit: e8412df
Operating system & version
Arch Linux fully up to date
What you did
[dependencies]
bevy = { git = "https://github.com/bevyengine/bevy.git", branch = "main", features = ["dynamic"]}
cargo run
What you expected to happen
Runs correctly
What actually happened
Compiling wgpu-hal v0.11.4
Compiling bevy_render v0.5.0 (https://github.com/bevyengine/bevy.git?branch=main#e8412df0)
Compiling bevy_scene v0.5.0 (https://github.com/bevyengine/bevy.git?branch=main#e8412df0)
Compiling bevy_audio v0.5.0 (https://github.com/bevyengine/bevy.git?branch=main#e8412df0)
error: Metal API enabled on non-Apple OS. If your project is not using resolver="2" in Cargo.toml, it should.
--> /home/keval/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.11.4/src/lib.rs:49:1
|
49 | compile_error!("Metal API enabled on non-Apple OS. If your project is not using resolver=\"2\" in Cargo.toml, it should.");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: DX12 API enabled on non-Windows OS. If your project is not using resolver="2" in Cargo.toml, it should.
--> /home/keval/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.11.4/src/lib.rs:51:1
|
51 | compile_error!("DX12 API enabled on non-Windows OS. If your project is not using resolver=\"2\" in Cargo.toml, it should.");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved import `super::dx12`
--> /home/keval/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.11.4/src/lib.rs:72:20
|
72 | pub use super::dx12::Api as Dx12;
| ^^^^ could not find `dx12` in the crate root
error[E0432]: unresolved import `super::metal`
--> /home/keval/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.11.4/src/lib.rs:83:20
|
83 | pub use super::metal::Api as Metal;
| ^^^^^ could not find `metal` in the crate root
For more information about this error, try `rustc --explain E0432`.
error: could not compile `wgpu-hal` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Additional information
I saw #2712 but I'm completely up to date so I don't know what else to do.
Metadata
Metadata
Assignees
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled