Closed aliu closed 1 month ago
Thanks for the contribution!
Happy to help! Any chance we could get a 1.7.1
release with this fix included? 😁
Sure, I should have a release out in a few hours (going to look into a few more issues).
Just released v1.8.0
with this change.
There is a bug in #134 where
search_directory
returned the escaped directory, which causes errors when it is later passed toFile::open
.One can reproduce the issue by creating a project using
bindgen
and settingLIBCLANG_PATH
to a folder containing square brackets (e.g./path/to/[foo]bar
).clang-sys
is able to find the shared libraries inside the[foo]bar
folder but is unable to actually load the files because the path becomes/path/to/[[]foo[]]bar/libclang.so
.