Skip to content

Commit 72cb253

Browse files
committed
sys: add runtime feature for bindgen
this makes bindgen load libclang during the execution of build instead of its compilation. it also has the advantage that older versions of clang are supported. see the following links for statements: - rust-lang/rust-bindgen#1694 - https://github.com/Janekdererste/metis-rs#why-this-fork
1 parent 6480a4c commit 72cb253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metis-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ keywords = ["graph", "mesh", "matrix", "partitioning", "ordering"]
1212

1313

1414
[build-dependencies]
15-
bindgen = { version = "0.65", default-features = false }
15+
bindgen = { version = "0.65", default-features = false, features = ["runtime"] }

0 commit comments

Comments
 (0)