Skip to content

Commit

Permalink
Fix fathom build on Windows
Browse files Browse the repository at this point in the history
Apparently MSVC needs to be told to use C++ mode for the C files,
as they are somehow more modern than what MSCV can handle.
  • Loading branch information
bsamseth committed Sep 16, 2024
1 parent bb79ef3 commit 364a439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fathom/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ fn main() {
.include("external/fathom/src")
.file("external/fathom/src/tbprobe.c")
.flag("-DTB_NO_HELPER_API")
.flag_if_supported("-TP")
.compile("fathom");
println!("cargo:rerun-if-changed=external/fathom");
}

0 comments on commit 364a439

Please sign in to comment.