File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ between using `cargo test` and `sudo cargo test`. To fix that run `sudo cargo cl
109109In order to have tests pass when run as ` root ` or not, some tests need to check if they are ` root ` at run-time
110110(using our own ` am_root() ` function is handy) and avoid failing if * not* run as ` root ` .
111111
112+ ## Macos: clang detection and header file finding
113+ Newer versions of ` bindgen ` have improved the detection of ` clang ` and hence macos header files.
114+ If you also have llvm/clang installed directly or via ` brew ` this may cause the build to fail saying it
115+ cannot find ` libproc.h ` . This can be fixed by setting ` CLANG_PATH="/usr/bin/clang" ` so that ` bindgen `
116+ detects the Xcode version and hence can fidn the correct header files.
117+
112118# CI Testing
113119Continuous Integration testing has been moved from travis-ci to GitHub Actions. For details see the
114120[ rust.yml] ( `.github/workflows/rust.yml` ) GitHub Actions workflow
You can’t perform that action at this time.
0 commit comments