diff options
| author | DevJPM <jean-pierre.muench@web.de> | 2020-11-10 23:22:38 +0100 |
|---|---|---|
| committer | DevJPM <jean-pierre.muench@web.de> | 2020-11-12 14:40:41 +0100 |
| commit | 86193ca91c2fa472ef8fbebe05037331d803f0fd (patch) | |
| tree | 597ef102edcaa1773e47eaaa13f84bc45ec3663a /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 7e443c4282df6daa9c92be7d1008c974cc5ede00 (diff) | |
| download | rust-86193ca91c2fa472ef8fbebe05037331d803f0fd.tar.gz rust-86193ca91c2fa472ef8fbebe05037331d803f0fd.zip | |
fixed a re-format due to removed chain call
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs index 456fa6fc19f..e06e2d45665 100644 --- a/compiler/rustc_codegen_llvm/src/attributes.rs +++ b/compiler/rustc_codegen_llvm/src/attributes.rs @@ -153,11 +153,7 @@ pub fn llvm_target_features(sess: &Session) -> impl Iterator<Item = &str> { .target_feature .split(',') .filter(|f| !RUSTC_SPECIFIC_FEATURES.iter().any(|s| f.contains(s))); - sess.target - .features - .split(',') - .chain(cmdline) - .filter(|l| !l.is_empty()) + sess.target.features.split(',').chain(cmdline).filter(|l| !l.is_empty()) } pub fn apply_target_cpu_attr(cx: &CodegenCx<'ll, '_>, llfn: &'ll Value) { |
