Skip to content

Commit

Permalink
clean build script
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Nov 9, 2023
1 parent 56fe65f commit 3f22c35
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
use std::env;
use std::fs::create_dir_all;
use std::fs::read_to_string;
use std::fs::remove_dir_all;
use std::fs::remove_file;
use std::fs::File;
use std::io::Read;
use std::io::Write;
use std::path::Path;
use std::process::Command;
use std::fs::remove_file;

#[allow(dead_code)]
fn setup_heif() {
// use std::fs::create_dir_all;
// use std::fs::remove_dir_all;
// use std::process::Command;
let out_dir = env::var("OUT_DIR").unwrap();
let heif_path = format!("{out_dir}/libheif");
println!("heif is at {heif_path}");
Expand Down

0 comments on commit 3f22c35

Please sign in to comment.