diff options
| author | Ralf Jung <post@ralfj.de> | 2025-06-12 14:04:39 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-06-19 09:45:09 +0900 |
| commit | 0c4b0f57268b1e866eb7eb720caf815efcb85aeb (patch) | |
| tree | b9dfeb318446ac5140e70f1c11bf4d967235b003 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 8bec5bb5adaa1f5a0bc3683fee5f77a5fdac539b (diff) | |
| download | rust-0c4b0f57268b1e866eb7eb720caf815efcb85aeb.tar.gz rust-0c4b0f57268b1e866eb7eb720caf815efcb85aeb.zip | |
line-wrap and extend comments, typos
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index bc2165fa829..676890b36eb 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -211,11 +211,11 @@ impl<'a> IntoIterator for LLVMFeature<'a> { /// To find a list of LLVM's names, see llvm-project/llvm/lib/Target/{ARCH}/*.td /// where `{ARCH}` is the architecture name. Look for instances of `SubtargetFeature`. /// -/// Check the current rustc fork of LLVM in the repo at <https://github.com/rust-lang/llvm-project/>. -/// The commit in use can be found via the `llvm-project` submodule in -/// <https://github.com/rust-lang/rust/tree/master/src> Though note that Rust can also be build with -/// an external precompiled version of LLVM which might lead to failures if the oldest tested / -/// supported LLVM version doesn't yet support the relevant intrinsics. +/// Check the current rustc fork of LLVM in the repo at +/// <https://github.com/rust-lang/llvm-project/>. The commit in use can be found via the +/// `llvm-project` submodule in <https://github.com/rust-lang/rust/tree/master/src> Though note that +/// Rust can also be build with an external precompiled version of LLVM which might lead to failures +/// if the oldest tested / supported LLVM version doesn't yet support the relevant intrinsics. pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFeature<'a>> { let arch = if sess.target.arch == "x86_64" { "x86" |
