Pass the llvm_stable feature to cargo when it gets invoked from regen.py.

This commit is contained in:
Bobby Holley 2016-07-26 13:59:20 -07:00
parent d6266c7cee
commit 8821fbcb6b

View file

@ -211,7 +211,7 @@ def build(objdir, target_name, kind_name=None,
if os.path.isdir(bindgen):
bindgen = ["cargo", "run", "--manifest-path",
os.path.join(bindgen, "Cargo.toml"), "--"]
os.path.join(bindgen, "Cargo.toml"), "--features", "llvm_stable", "--"]
else:
bindgen = [bindgen]