• Home
  • Raw
  • Download

Lines Matching +full:libclang +full:- +full:version

1 # clang-sys
3 [![Crate](https://img.shields.io/crates/v/clang-sys.svg)](https://crates.io/crates/clang-sys)
4 [![Documentation](https://docs.rs/clang-sys/badge.svg)](https://docs.rs/clang-sys)
5 …ithub/actions/workflow/status/KyleMayes/clang-sys/ci.yml?branch=master)](https://github.com/KyleMa…
6 ![MSRV](https://img.shields.io/badge/MSRV-1.51.0-blue)
8 Rust bindings for `libclang`.
10 …t idiomatic Rust wrapper for these bindings, see [`clang-rs`](https://github.com/KyleMayes/clang-r…
14 ## [Documentation](https://docs.rs/clang-sys)
16 …rgo feature as well as the Cargo feature for the latest supported version of `libclang` (e.g., `cl…
18 …ain some additional types and functions to manage a dynamically loaded `libclang` instance at runt…
20version of `libclang`, this documentation will contain constants and functions that are not availa…
24 To target a version of `libclang`, enable a Cargo features such as one of the following:
26 * `clang_3_5` - requires `libclang` 3.5 or later
27 * `clang_3_6` - requires `libclang` 3.6 or later
29 * `clang_15_0` - requires `libclang` 15.0 or later
30 * `clang_16_0` - requires `libclang` 16.0 or later
32 If you do not enable one of these features, the API provided by `libclang` 3.5 will be available by…
34version feature. Clang 15.0 introduced [a breaking change to the `EntityKind` enum](https://github…
38libclang` dynamically. In this case, this crate depends on the `libclang` shared library (`libclan…
42 …and later do not include the `libclang.a` static library. This means you cannot link to any of the…
46libclang.so` (e.g.,`libclang-3.9.so`). In the case where there are multiple instances to choose fr…
48 1. `libclang-4.0.so`
49 2. `libclang-4.so`
50 3. `libclang-3.9.so`
51 4. `libclang-3.so`
52 5. `libclang.so`
54 …BSD distributions, versioned instances of `libclang.so` matching the pattern `libclang.so.*` (e.g.…
56 …atures is enabled, versioned instances of `libclang.so` matching the pattern `libclang.so.*` (e.g.…
62 …compiletime)** - provides a full path to an `llvm-config` executable (including the executable its…
63 …H` **(compiletime)** - provides a path to a directory containing a `libclang` shared library or a …
64 * `LIBCLANG_STATIC_PATH` **(compiletime)** - provides a path to a directory containing LLVM and Cla…
65 * `CLANG_PATH` **(runtime)** - provides a path to a `clang` executable
71 `libclang` shared libraries will be searched for in the following directories:
74 * the `bin` and `lib` directories in the directory provided by `llvm-config --libdir`
77 * **macOS only:** the toolchain directory in the directory provided by `xcode-select --print-path`
79 …n executable that has been dynamically linked to `libclang` may require you to add a path to `libc…
81 …lly linked to `libclang` requires that `libclang.dll` can be found by the executable at runtime. S…
85 The availability of `llvm-config` is not optional for static linking. Ensure that an instance of th…
89libclang` shared library for use in the thread in which it is called. The `clang_sys::unload` func…