File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,22 @@ impl Show {
31
31
/// Entrypoint
32
32
pub fn run ( self ) -> anyhow:: Result < ( ) > {
33
33
log:: info!( "{:?}: " , self . command) ;
34
+
35
+ #[ expect(
36
+ clippy:: print_stdout,
37
+ reason = "The output of this command could potentially be used in a script, \
38
+ so we _don't_ want to use `crate::user_output`, as that prefixes a crab."
39
+ ) ]
34
40
match self . command {
35
41
Info :: CacheDirectory => {
36
- crate :: user_output !( "{}\n " , cache_dir( ) ?. display( ) ) ;
42
+ println ! ( "{}\n " , cache_dir( ) ?. display( ) ) ;
37
43
}
38
44
Info :: SpirvSource ( SpirvSourceDep { shader_crate } ) => {
39
45
let rust_gpu_source =
40
46
crate :: spirv_source:: SpirvSource :: get_spirv_std_dep_definition ( & shader_crate) ?;
41
- crate :: user_output!( "{rust_gpu_source}\n " ) ;
47
+ {
48
+ println ! ( "{rust_gpu_source}\n " ) ;
49
+ }
42
50
}
43
51
}
44
52
You can’t perform that action at this time.
0 commit comments