rezcraft 0.2.0

Minecraft like game written in rust using wgpu, supporting both native and wasm
Documentation
1
2
3
4
5
6
7
use std::env;

fn main() {
    if env::var("CARGO_CFG_TARGET_OS").is_ok_and(|target_os| target_os == "linux") {
        println!("cargo:rustc-link-lib=vulkan");
    }
}