From 839a6fc3f1819d0fc6025d322e8bdb8d18eff9ca Mon Sep 17 00:00:00 2001 From: Zachary Catlin Date: Tue, 14 Nov 2023 13:13:53 -0500 Subject: [PATCH] USING: changed wording regarding libclang versions --- USING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/USING.md b/USING.md index 82a61b9c..18ec0421 100644 --- a/USING.md +++ b/USING.md @@ -38,7 +38,8 @@ For example, on most Debian-like systems, you can run the following (as `root`): apt install libclang-[n]-dev libclang1-[n] ``` -where `[n]` is a sufficiently recent version of `clang` (at time of writing, it must be at least `5`). +where `[n]` is some version of `clang` (generally, the newer the better, +but [version 5 at minimum]). ## Build system additions @@ -198,6 +199,7 @@ You can find a fully worked-out example of a Rust-using cFS application at [install rust]: https://www.rust-lang.org/tools/install [1]: https://rust-lang.github.io/rustup/concepts/channels.html [2]: https://doc.rust-lang.org/book/appendix-07-nightly-rust.html +[version 5 at minimum]: https://rust-lang.github.io/rust-bindgen/requirements.html [a little configuration]: https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-reads [shared compile caches]: https://doc.rust-lang.org/cargo/guide/build-cache.html#shared-cache [sccache]: https://github.com/mozilla/sccache