Skip to content

Commit

Permalink
fix: Added cc extensions as c++ files as well
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Nov 13, 2024
1 parent fb1140b commit 28436e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mnn-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ int main() {return 0;} "#;

fn cpp_filter(path: impl AsRef<Path>) -> bool {
path.as_ref().extension() == Some(OsStr::new("cpp"))
|| path.as_ref().extension() == Some(OsStr::new("cc"))
}

fn asm_filter(path: impl AsRef<Path>) -> bool {
Expand Down

0 comments on commit 28436e7

Please sign in to comment.