dflemstr / v8-rs

An idiomatic Rust wrapper for the V8 Javascript engine
107 stars 16 forks source link

Use Clang to autodetect include paths in the build.rs script. #15

Closed prokopyl closed 7 years ago

prokopyl commented 7 years ago

This implements the solution proposed by @SrTobi in #14 in order to improve the detection of some header files. It uses Clang through the clang-sys crate, and fixes the compilation of the v8-sys crate on some Linux systems (tested on Arch Linux x86_64).

SrTobi commented 7 years ago

Exactly what I meant 👍

dflemstr commented 7 years ago

Looks good!