diff --git a/vello_shaders/build.rs b/vello_shaders/build.rs index 79abde65..57930b26 100644 --- a/vello_shaders/build.rs +++ b/vello_shaders/build.rs @@ -24,7 +24,10 @@ fn main() { let mut shaders = match compile::ShaderInfo::from_default() { Ok(s) => s, Err(err) => { - eprintln!("{err}"); + let formatted = err.to_string(); + for line in formatted.lines() { + println!("cargo:warning={line}"); + } return; } };