Cargo Features

[dependencies]
spirv-builder = { version = "0.9.0", default-features = false, features = ["use-installed-tools", "use-compiled-tools", "skip-toolchain-check", "watch"] }

NOTE(eddyb) the dep: prefixes used here prevents a feature with the name as that optional dependency, from being automatically created by Cargo, see: https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies

default = use-compiled-tools

See rustc_codegen_spirv/Cargo.toml for details on these features.

use-installed-tools

Enables use-installed-tools of rustc_codegen_spirv

See comment in src/lib.rs invoke_rustc regarding rustc_codegen_spirv dep.

use-compiled-tools default

Enables use-compiled-tools of rustc_codegen_spirv

skip-toolchain-check

Enables skip-toolchain-check of optional rustc_codegen_spirv

watch

Enables notify ^5.0.0-pre.11