mirror of
https://github.com/openharmony/third_party_rust_clang-sys.git
synced 2026-07-01 09:24:14 -04:00
Update references to latest Clang version
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
clang: [["13.0", "clang_13_0"]]
|
||||
clang: [["16.0", "clang_16_0"]]
|
||||
rust: ["1.40.0"]
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
||||
+1
-1
@@ -52,4 +52,4 @@ glob = "0.3"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
||||
features = ["clang_13_0", "runtime"]
|
||||
features = ["clang_16_0", "runtime"]
|
||||
|
||||
@@ -13,7 +13,7 @@ Released under the Apache License 2.0.
|
||||
|
||||
## [Documentation](https://docs.rs/clang-sys)
|
||||
|
||||
Note that the documentation on https://docs.rs for this crate assumes usage of the `runtime` Cargo feature as well as the Cargo feature for the latest supported version of `libclang` (e.g., `clang_13_0`), neither of which are enabled by default.
|
||||
Note that the documentation on https://docs.rs for this crate assumes usage of the `runtime` Cargo feature as well as the Cargo feature for the latest supported version of `libclang` (e.g., `clang_16_0`), neither of which are enabled by default.
|
||||
|
||||
Due to the usage of the `runtime` Cargo feature, this documentation will contain some additional types and functions to manage a dynamically loaded `libclang` instance at runtime.
|
||||
|
||||
@@ -26,8 +26,8 @@ To target a version of `libclang`, enable a Cargo features such as one of the fo
|
||||
* `clang_3_5` - requires `libclang` 3.5 or later
|
||||
* `clang_3_6` - requires `libclang` 3.6 or later
|
||||
* etc...
|
||||
* `clang_12_0` - requires `libclang` 12.0 or later
|
||||
* `clang_13_0` - requires `libclang` 13.0 or later
|
||||
* `clang_15_0` - requires `libclang` 15.0 or later
|
||||
* `clang_16_0` - requires `libclang` 16.0 or later
|
||||
|
||||
If you do not enable one of these features, the API provided by `libclang` 3.5 will be available by default.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user