Created
June 14, 2014 09:52
-
-
Save bollu/0c71e3d270beedd754dd to your computer and use it in GitHub Desktop.
Running rust-bindgen on Arch with clang3.4 has.. problems. This fixes them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LD_PRELOAD=/usr/lib/libclang.so ./bindgen -I /usr/lib/clang/3.4.1/include/ | |
| #the LD_PRELOAD helps it pickup the right clang version | |
| #the -I gives it clang's include files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment