Skip to content

Commit

Permalink
pass -target flag to libclang correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
micahrj committed Jan 6, 2024
1 parent 50d69c1 commit 4a02439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions com-scrape/src/clang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ impl TranslationUnit {
];

if let Some(target) = target {
args.push("-target".to_string());
args.push(target.to_string());
}

Expand Down

0 comments on commit 4a02439

Please sign in to comment.