Skip to content

Commit

Permalink
Update config.rs
Browse files Browse the repository at this point in the history
I'm pretty sure that llvm path should not contain lib as per https://pub.dev/packages/ffigen.
  • Loading branch information
sagudev authored Apr 30, 2022
1 parent 9245c9e commit 231c73a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frb_codegen/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ pub fn parse(raw: RawOpts) -> Opts {
"/opt/homebrew/opt/llvm".to_owned(), // Homebrew root
"/usr/local/opt/llvm".to_owned(), // Homebrew x86-64 root
// Possible Linux LLVM roots
"/usr/lib/llvm-9/lib".to_owned(),
"/usr/lib/llvm-10/lib".to_owned(),
"/usr/lib/llvm-11/lib".to_owned(),
"/usr/lib/llvm-12/lib".to_owned(),
"/usr/lib/llvm-13/lib".to_owned(),
"/usr/lib/llvm-14/lib".to_owned(),
"/usr/lib/llvm-9".to_owned(),
"/usr/lib/llvm-10".to_owned(),
"/usr/lib/llvm-11".to_owned(),
"/usr/lib/llvm-12".to_owned(),
"/usr/lib/llvm-13".to_owned(),
"/usr/lib/llvm-14".to_owned(),
"/usr/lib/".to_owned(),
"/usr/lib64/".to_owned(),
"C:/Program Files/llvm".to_owned(), // Default on Windows
Expand Down

0 comments on commit 231c73a

Please sign in to comment.