-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
If warnings are emitted during shader compile, they are often hidden by cargo only showing the output of a build scripts if it fails. But there's also cargo::warning=MESSAGE
to emit warnings visible to the end user. We should add a system to forward these warnings, given that we already have print_metadata
...
rust-gpu/crates/spirv-builder/src/lib.rs
Lines 375 to 378 in 53c627b
/// Whether to print build.rs cargo metadata (e.g. cargo:rustc-env=var=val). Defaults to [`MetadataPrintout::None`]. | |
/// Within build scripts, set it to [`MetadataPrintout::DependencyOnly`] or [`MetadataPrintout::Full`] to ensure the build script is rerun on code changes. | |
#[cfg_attr(feature = "clap", clap(skip))] | |
pub print_metadata: MetadataPrintout, |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request