clang
11.0.xClang::find
panicking when llvm-config
or xcode-build
don't output anything to stdout
Clang::find
to properly search directories returned by the llvm-config --bindir
and xcodebuild -find clang
commandslibclang
with 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 the llvm-config --prefix
directory)libloading
version to 0.6.0
llvm-config
and xcode-select
unless an instance of libclang
is not foundclang
10.0.xgte_clang_*
Cargo features (these were an implementation detail)libclang
libc
and libloading
libc
and libloading
libclang
matching libclang-*.so.*
Option
in the CXCursorAndRangeVisitor
and IndexerCallbacks
structs (to permit nullability and to avoid undefined behavior caused by Default
implementations for these structs which returns a zeroed value)clang
9.0.xCXCallingConv_AArch64VectorCall
variant to CXCallingConv
enumclang_CompileCommand_getNumMappedSources
functionglob
version to 0.3.0
LIBCLANG_PATH
to refer to a specific libclang
instance (e.g., /usr/local/lib/libclang.so.10
)libclang-cpp
being linked instead of libclang
llvm-config
to be first search candidate on macOSclang
8.0.xassert-minimum
featureassert-minimum
feature (see README.md
for details)SharedLibrary
structlibc
dependencybin
directories on Windowslibclang.so.1
)README.md
for details)clang
7.0.xClang::find
to skip dynamic libraries for an incorrect architecture on Windowsclang
6.0.xlibc
version to 0.2.39
libloading
version to 0.5.0
LD_LIBRARY_PATH
directorieslibclang-3.9.so
)bitflags
usage with constants which avoids crashes on 32-bit Linux platformsclang
5.0.xclang
as a link target of this packageis_loaded
for builds with the static
Cargo feature enabledbitflags
version to 0.9.1
args
parameter to Clang::new
function which passes arguments to the Clang executablelibclang.so.3.9
)Vec<PathBuf>
to Option<Vec<PathBuf>>
libloading
version to 0.4.0
libclang.so.1
on Linuxclang
4.0.xFunctions
struct to be unsafe
(runtime
feature only)Clang::find
method to ignore directories and non-executable filesClang::find
to skip dynamic libraries for an incorrect architecture on FreeBSD and Linuxbitflags
version to 0.7.0
libc++
instead of libstd++
runtime
Cargo feature that links to libclang
shared library at runtimefrom_raw
method to CXTypeLayoutError
enumDeref
for opaque FFI structsDefault
implementations for structs to zero out the structCLANG_PATH
environment variable for providing a path to clang
executablellvm-config
to search for clang
xcodebuild
to search for clang
on macOSclang
3.9.xlibc
version to 0.2.14
LIBCLANG_PATH
usage on Windows to search both the bin
and lib
directoriesclang
executables when system has executables matching clang-*
(e.g., clang-format
)libc
version to 0.2.12
clang
executables suffixed by their version (e.g., clang-3.5
)Clang
struct version
field type to Option<CXVersion>
support
modulelibclang
linking on FreeBSDlibclang
linking on Windows with the MSVC toolchainlibclang
static linkingDefault
for FFI structsbitflags
version to 0.7.0
libclang
static linkinglibclang
linking on macOSlibclang
linking on Windowsrustc_version
dependencyLIBCLANG_STATIC
environment variablebitflags
version to 0.6.0
libc
version to 0.2.11
libclang
search pathlibclang
static linkinglibc
version to 0.2.10
libc
version to 0.2.9
rustc_version
version to 0.1.7
clang
3.4.xlibclang
clang
3.4.xbitflags
version to 0.5.0
libc
version to 0.2.8
bitflags
version to 0.4.0
libc
version to 0.2.7
rustc_version
version to 0.1.6
clang
3.8.xDebug
for FFI structsPartialOrd
and Ord
for FFI enums