Skip to content

Commit d0cc147

Browse files
style: rustfmt wrap the cfg_attr(simd_ffi) attribute
Single-line form exceeds rustfmt's line width. Wrap to the multi-line cfg_attr form rustfmt produces. Signed-off-by: Ryan Stewart <47729789+RyanJamesStewart@users.noreply.github.com>
1 parent ad49023 commit d0cc147

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
// simd_ffi is only used by the Sleef extern block, which is itself gated on
3838
// avx512f. Match the gate so non-AVX-512 builds (e.g. CI runners on
3939
// x86-64-v3) don't see the feature declared but unused.
40-
#![cfg_attr(all(target_arch = "x86_64", target_feature = "avx512f"), feature(simd_ffi))]
40+
#![cfg_attr(
41+
all(target_arch = "x86_64", target_feature = "avx512f"),
42+
feature(simd_ffi)
43+
)]
4144
#![allow(clippy::needless_range_loop)]
4245

4346
pub mod black;

0 commit comments

Comments
 (0)