Skip to content

Instantly share code, notes, and snippets.

@bollu
Created June 14, 2014 09:52
Show Gist options
  • Select an option

  • Save bollu/0c71e3d270beedd754dd to your computer and use it in GitHub Desktop.

Select an option

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
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