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 @@ -507,8 +507,7 @@ fn compile_metal(cx: &mut Build, cxx: &mut Build) {
507507 let common = LLAMA_PATH . join ( "ggml-common.h" ) ;
508508
509509 let input_file = File :: open ( ggml_metal_shader_path) . expect ( "Failed to open input file" ) ;
510- let mut output_file =
511- File :: create ( & ggml_metal_shader_out_path) . expect ( "Failed to create output file" ) ;
510+ let output_file = File :: create ( & ggml_metal_shader_out_path) . expect ( "Failed to create output file" ) ;
512511
513512 let output = Command :: new ( "sed" )
514513 . arg ( "-e" )
@@ -656,7 +655,7 @@ fn main() {
656655 push_warn_flags ( & mut cx, & mut cxx) ;
657656 push_feature_flags ( & mut cx, & mut cxx) ;
658657
659- let feat_lib = if cfg ! ( feature = "vulkan" ) {
658+ let _feat_lib = if cfg ! ( feature = "vulkan" ) {
660659 Some ( compile_vulkan ( & mut cx, & mut cxx) )
661660 } else if cfg ! ( feature = "cuda" ) {
662661 Some ( compile_cuda ( & mut cx, & mut cxx, featless_cxx) )
You can’t perform that action at this time.
0 commit comments