13 KiB
13 KiB
[1.7.0] - 2023-12-31
Added
- Added support for
clang17.0.x
[1.6.1] - 2023-03-29
Fixed
- Improved error message when calling a
libclangfunction that is not supported by the loadedlibclanginstance (https://github.com/rust-lang/rust-bindgen/issues/2446)
[1.6.0] - 2023-02-18
Changed
- MinGW directories are not searched for
libclanginstances on Windows when compiling for an MSVC target - Bumped minimum supported Rust version (MSRV) to 1.51.0
- Changed Windows search directory preferences (
libclanginstances from Visual Studio installs are now the lowest priority rather than the second highest)
[1.5.1] - 2023-02-05 (YANKED)
Changed
- MinGW directories are not searched for
libclanginstances on Windows when compiling for an MSVC target
[1.5.0] - 2023-02-05 (YANKED)
Changed
- Bumped minimum supported Rust version (MSRV) to 1.51.0
- Changed Windows search directory preferences (
libclanginstances from Visual Studio installs are now the lowest priority rather than the second highest)
Added
- Added additional support for
clang16.0.x
[1.4.0] - 2022-09-22
Changed
- The value of an
EntityKindenum variant (EntityKind::CXCursor_TranslationUnit) has been updated for Clang 15.0 and later to match the breaking change made inlibclang
Added
- Added support for
clang16.0.x - Added support for
clang15.0.x - Added support for
clang14.0.x
[1.3.3] - 2022-05-28
Fixed
- Fixed
Clang::findto check thatCLANG_PATHis an executable file before selecting it
[1.3.2] - 2022-05-18
Added
- Added support for illumos and derivatives
[1.3.1] - 2022-02-03
Added
- Added missing
clang_getTokenfunction
[1.3.0] - 2021-10-31
Added
- Added support for
clang13.0.x - Added support for
clang12.0.x - Added support for the Haiku operating system
[1.2.2] - 2021-09-02
Fixed
- Fixed handling of paths that contain characters that have special meaning in
glob patterns (e.g.,
[or])
[1.2.1] - 2021-08-24
Changed
- Updated build script to check the install location used by the Scoop command-line installer on Windows
Fixed
- Updated build script to support environments where the
PATHenvironment variable is not set
[1.2.0] - 2021-04-08
Changed
- Changed
Clang::findto prefer target-prefixed binaries when a-targetargument is provided (e.g., if the arguments-targetandx86_64-unknown-linux-gnuare provided, a target-prefixed Clang executable such asx86_64-unknown-linux-gnu-clangwill be preferred over a non-target prefixed Clang executable)
Fixed
- Fixed build script to split paths in environment variables (e.g.,
LD_LIBRARY_PATH) using the appropriate separator for the platform (previously:was used as the separator but some platforms such as Windows use;)
[1.1.1] - 2021-02-19
Changed
- Bumped
libloadingversion to0.7
[1.1.0] - 2021-02-09
Changed
- Added Visual Studio LLVM component directory to search paths on Windows (#121)
Added
- Added support for
clang11.0.x
[1.0.3] - 2020-11-19
Fixed
- Fixed
Clang::findpanicking whenllvm-configorxcode-builddon't output anything tostdout
[1.0.2] - 2020-11-17
Fixed
- Fixed
Clang::findto properly search directories returned by thellvm-config --bindirandxcodebuild -find clangcommands - Improved version selection algorithm in the case where there are multiple
instances of
libclangwith the highest version found; previously the lowest priority instance would be selected instead of the highest priority instance (e.g., the versions found by searching the fallback directories were preferred over the versions found by searching thellvm-config --prefixdirectory)
[1.0.1] - 2020-10-01
Changed
- Improved panic error message when calling an unloaded function
[1.0.0] - 2020-07-14
Changed
- Bumped
libloadingversion to0.6.0 - Updated build script to not print warnings about failures to execute
llvm-configandxcode-selectunless an instance oflibclangis not found
Added
- Added support for
clang10.0.x
Removed
- Removed
gte_clang_*Cargo features (these were an implementation detail)
[0.29.3] - 2020-03-31
Added
- Added ability to determine version of runtime-linked instance of
libclang
[0.29.2] - 2020-03-09
Added
- Revert unnecessary increase of minimum version of
libcandlibloading
[0.29.2] - 2020-03-09
Added
- Revert unnecessary increase of minimum version of
libcandlibloading
[0.29.1] - 2020-03-06
Added
- Added support for finding instances of
libclangmatchinglibclang-*.so.*
[0.29.0] - 2020-02-17
Changed
- Wrapped function pointer fields in
Optionin theCXCursorAndRangeVisitorandIndexerCallbacksstructs (to permit nullability and to avoid undefined behavior caused byDefaultimplementations for these structs which returns a zeroed value)
Added
- Added support for
clang9.0.x - Added missing
CXCallingConv_AArch64VectorCallvariant toCXCallingConvenum - Added missing
clang_CompileCommand_getNumMappedSourcesfunction
[0.28.1] - 2019-07-28
Changed
- Bumped
globversion to0.3.0 - Improved error message when an invocation of an executable is not successful
- Allowed
LIBCLANG_PATHto refer to a specificlibclanginstance (e.g.,/usr/local/lib/libclang.so.10)
Fixed
- Fixed
libclang-cppbeing linked instead oflibclang
[0.28.0] - 2019-02-17
Changed
- Changed
llvm-configto be first search candidate on macOS
Added
- Added support for
clang8.0.x
Removed
- Removed
assert-minimumfeature - Removed version detection for libraries without versions embedded in the filename
[0.27.0] - 2019-01-10
Changed
- Added version detection for libraries without versions embedded in the filename
Added
- Added
assert-minimumfeature (seeREADME.mdfor details)
[0.26.4] - 2018-12-29
Changed
- Added shared library path to
SharedLibrarystruct
[0.26.3] - 2018-11-14
Changed
- Disable default features of
libcdependency
[0.26.2] - 2018-11-03
Fixed
- Fixed dynamic linking on macOS
[0.26.1] - 2018-10-10
Fixed
- Fixed support for finding libraries in
bindirectories on Windows
[0.26.0] - 2018-10-07
Changed
- Added support for finding libraries with version suffixes on Linux when using runtime linking (e.g.,
libclang.so.1)
[0.25.0] - 2018-10-06
Changed
- Added support for versioned libraries on BSDs
[0.24.0] - 2018-09-15
Changed
- Reworked finding of libraries (see
README.mdfor details)
Added
- Added support for
clang7.0.x
[0.23.0] - 2018-06-16
Changed
- Changed
Clang::findto skip dynamic libraries for an incorrect architecture on Windows
[0.22.0] - 2018-03-11
Added
- Added support for
clang6.0.x - Bumped
libcversion to0.2.39 - Bumped
libloadingversion to0.5.0
[0.21.2] - 2018-02-17
Changed
- Added original errors to error messages
- Added support for searching for libraries in
LD_LIBRARY_PATHdirectories
[0.21.1] - 2017-11-24
Changed
- Improved finding of versioned libraries (e.g.,
libclang-3.9.so)
Fixed
- Fixed compilation failures on the beta and nightly channels caused by a compiler bug
[0.21.0] - 2017-10-11
Changed
- Replaced
bitflagsusage with constants which avoids crashes on 32-bit Linux platforms
[0.20.1] - 2017-09-16
Fixed
- Fixed static linking
[0.20.0] - 2017-09-14
Added
- Added support for
clang5.0.x - Added
clangas a link target of this package - Added dummy implementations of
is_loadedfor builds with thestaticCargo feature enabled
[0.19.0] - 2017-07-02
Changed
- Bumped
bitflagsversion to0.9.1 - Added
argsparameter toClang::newfunction which passes arguments to the Clang executable
[0.18.0] - 2017-05-16
Changed
- Improved finding of versioned libraries (e.g.,
libclang.so.3.9)
[0.17.0] - 2017-05-08
Changed
- Changed storage type of include search paths from
Vec<PathBuf>toOption<Vec<PathBuf>>
[0.16.0] - 2017-05-02
Changed
- Bumped
libloadingversion to0.4.0
[0.15.2] - 2017-04-28
Fixed
- Fixed finding of
libclang.so.1on Linux
[0.15.1] - 2017-03-29
Fixed
- Fixed static linking when libraries are in different directories
[0.15.0] - 2017-03-13
Added
- Added support for
clang4.0.x
Changed
- Changed functions in the
Functionsstruct to beunsafe(runtimefeature only) - Changed
Clang::findmethod to ignore directories and non-executable files - Changed
Clang::findto skip dynamic libraries for an incorrect architecture on FreeBSD and Linux - Bumped
bitflagsversion to0.7.0
[0.14.0] - 2017-01-30
Changed
- Changed all enum types from tuple structs to raw integers to avoid segmentation faults on some platforms
[0.13.0] - 2017-01-29
Changed
- Changed all opaque pointers types from tuple structs to raw pointers to avoid segmentation faults on some platforms
[0.12.0] - 2016-12-13
Changed
- Altered the runtime linking API to allow for testing the presence of functions
[0.11.1] - 2016-12-07
Added
- Added support for linking to Clang on Windows from unofficial LLVM sources such as MSYS and MinGW
[0.11.0] - 2016-10-07
Changed
- Changed all enums from Rust enums to typed constants to avoid undefined behavior
[0.10.1] - 2016-08-21
Changed
- Changed static linking on FreeBSD and macOS to link against
libc++instead oflibstd++
[0.10.0] - 2016-08-01
Changed
- Added
runtimeCargo feature that links tolibclangshared library at runtime - Added
from_rawmethod toCXTypeLayoutErrorenum - Added implementations of
Dereffor opaque FFI structs - Changed
Defaultimplementations for structs to zero out the struct
[0.9.0] - 2016-07-21
Added
- Added documentation bindings
[0.8.1] - 2016-07-20
Changed
- Added
CLANG_PATHenvironment variable for providing a path toclangexecutable - Added usage of
llvm-configto search forclang - Added usage of
xcodebuildto search forclangon macOS
[0.8.0] - 2016-07-18
Added
- Added support for
clang3.9.x
Changed
- Bumped
libcversion to0.2.14
Fixed
- Fixed
LIBCLANG_PATHusage on Windows to search both thebinandlibdirectories - Fixed search path parsing on macOS
- Fixed search path parsing on Windows
- Fixed default search path ordering on macOS
[0.7.2] - 2016-06-17
Fixed
- Fixed finding of
clangexecutables when system has executables matchingclang-*(e.g.,clang-format)
[0.7.1] - 2016-06-10
Changed
- Bumped
libcversion to0.2.12
Fixed
- Fixed finding of
clangexecutables suffixed by their version (e.g.,clang-3.5)
[0.7.0] - 2016-05-31
Changed
- Changed
Clangstructversionfield type toOption<CXVersion>
[0.6.0] - 2016-05-26
Added
- Added
supportmodule
Fixed
- Fixed
libclanglinking on FreeBSD - Fixed
libclanglinking on Windows with the MSVC toolchain - Improved
libclangstatic linking
[0.5.4] - 20160-5-19
Changed
- Added implementations of
Defaultfor FFI structs
[0.5.3] - 2016-05-17
Changed
- Bumped
bitflagsversion to0.7.0
[0.5.2] - 2016-05-12
Fixed
- Fixed
libclangstatic linking
[0.5.1] - 2016-05-10
Fixed
- Fixed
libclanglinking on macOS - Fixed
libclanglinking on Windows
[0.5.0] - 2016-05-10
Removed
- Removed
rustc_versiondependency - Removed support for
LIBCLANG_STATICenvironment variable
Changed
- Bumped
bitflagsversion to0.6.0 - Bumped
libcversion to0.2.11 - Improved
libclangsearch path - Improved
libclangstatic linking
[0.4.2] - 2016-04-20
Changed
- Bumped
libcversion to0.2.10
[0.4.1] - 2016-04-02
Changed
- Bumped
libcversion to0.2.9 - Bumped
rustc_versionversion to0.1.7
[0.4.0] - 2016-03-28
Removed
- Removed support for
clang3.4.x
[0.3.1] - 2016-03-21
Added
- Added support for finding
libclang
[0.3.0] - 2016-03-16
Removed
- Removed build system types and functions
Added
- Added support for
clang3.4.x
Changed
- Bumped
bitflagsversion to0.5.0 - Bumped
libcversion to0.2.8
[0.2.1] - 2016-02-13
Changed
- Simplified internal usage of conditional compilation
- Bumped
bitflagsversion to0.4.0 - Bumped
libcversion to0.2.7 - Bumped
rustc_versionversion to0.1.6
[0.2.0] - 2016-02-12
Added
- Added support for
clang3.8.x
[0.1.2] - 2015-12-29
Added
- Added derivations of
Debugfor FFI structs
[0.1.1] - 2015-12-26
Added
- Added derivations of
PartialOrdandOrdfor FFI enums
[0.1.0] - 2015-12-22
- Initial release