Skip to content

Commit

Permalink
Both bindgen and clang use the same feature in
Browse files Browse the repository at this point in the history
the same specific way; unify them
  • Loading branch information
CGMossa committed Apr 20, 2024
1 parent 6883db3 commit 25fd1ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ repository = "https://github.com/extendr/libR-sys"

[build-dependencies]
bindgen = { version = "0.69.1", optional = true, features = ["experimental"] }
clang = { version = "2", optional = true, features = ["runtime", "clang_3_7"] }
clang = { version = "2", optional = true, features = ["clang_3_7"] }

[features]
default = ["runtime"]
# By default, we use pre-computed bindings that ship with the library. This may fail!
# Turn on the 'use-bindgen' feature to generate bindings on the fly for your platform.
use-bindgen = ["bindgen", "clang"]

runtime = ["clang/runtime", "bindgen/runtime"]
# Enables generation of layout-tests in bindgen
layout_tests = []

Expand Down

0 comments on commit 25fd1ee

Please sign in to comment.