line-wrap and extend comments, typos
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user