Closed MarkintoshZ closed 4 years ago
Compiling with default = ["metal"]
apparently works on my machine
Is this issue still active?
Seems we can not use default = ["vulkan"]
on MacOS...
error[E0282]: type annotations needed
--> /Users/linonetwo/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/gfx-backend-vulkan-0.3.3/src/window.rs:213:17
|
213 | msg_send![view, setLayer: layer];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
error: could not compile `gfx-backend-vulkan`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
I'm using rust stable channel.
Yes, please read the readme Vulkan dosent work on macOS, Apple has Metal instead
[features] default = ["metal"]
I clone the repo, did
cargo run
and this is the error it output at buildI am using MacOS 10.15.5 and rustc version 1.44.1 (c7087fe00 2020-06-17) Wondering if this is a problem this this repo or the gfx-backend-vulkan library.