File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -125,14 +125,15 @@ pub enum SpirvBuilderError {
125
125
BuildFailed ,
126
126
#[ error( "multi-module build cannot be used with print_metadata = MetadataPrintout::Full" ) ]
127
127
MultiModuleWithPrintMetadata ,
128
- #[ error( "watching within build scripts will prevent build completion" ) ]
129
- WatchWithPrintMetadata ,
130
128
#[ error( "multi-module metadata file missing" ) ]
131
129
MetadataFileMissing ( #[ from] std:: io:: Error ) ,
132
130
#[ error( "unable to parse multi-module metadata file" ) ]
133
131
MetadataFileMalformed ( #[ from] serde_json:: Error ) ,
134
132
#[ error( "cargo metadata error" ) ]
135
133
CargoMetadata ( #[ from] cargo_metadata:: Error ) ,
134
+ #[ cfg( feature = "watch" ) ]
135
+ #[ error( "watching within build scripts will prevent build completion" ) ]
136
+ WatchWithPrintMetadata ,
136
137
}
137
138
138
139
const SPIRV_TARGET_PREFIX : & str = "spirv-unknown-" ;
You can’t perform that action at this time.
0 commit comments