File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -500,8 +500,7 @@ fn compile_metal(cx: &mut Build, cxx: &mut Build) {
500500 let common = LLAMA_PATH . join ( "ggml-common.h" ) ;
501501
502502 let input_file = File :: open ( ggml_metal_shader_path) . expect ( "Failed to open input file" ) ;
503- let mut output_file =
504- File :: create ( & ggml_metal_shader_out_path) . expect ( "Failed to create output file" ) ;
503+ let output_file = File :: create ( & ggml_metal_shader_out_path) . expect ( "Failed to create output file" ) ;
505504
506505 let output = Command :: new ( "sed" )
507506 . arg ( "-e" )
@@ -649,7 +648,7 @@ fn main() {
649648 push_warn_flags ( & mut cx, & mut cxx) ;
650649 push_feature_flags ( & mut cx, & mut cxx) ;
651650
652- let feat_lib = if cfg ! ( feature = "vulkan" ) {
651+ let _feat_lib = if cfg ! ( feature = "vulkan" ) {
653652 Some ( compile_vulkan ( & mut cx, & mut cxx) )
654653 } else if cfg ! ( feature = "cuda" ) {
655654 Some ( compile_cuda ( & mut cx, & mut cxx, featless_cxx) )
You can’t perform that action at this time.
0 commit comments