mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
non_minimal_cfg
This commit is contained in:
parent
e6f9f4c0e4
commit
bef355168a
3 changed files with 3 additions and 4 deletions
|
@ -179,7 +179,6 @@ needless_doctest_main = "allow"
|
|||
new_without_default = "allow"
|
||||
non_canonical_clone_impl = "allow"
|
||||
non_canonical_partial_ord_impl = "allow"
|
||||
non_minimal_cfg = "allow"
|
||||
only_used_in_recursion = "allow"
|
||||
op_ref = "allow"
|
||||
option_map_unit_fn = "allow"
|
||||
|
|
|
@ -17,7 +17,7 @@ use lsp_server::Connection;
|
|||
use rust_analyzer::{cli::flags, config::Config, from_json};
|
||||
use vfs::AbsPathBuf;
|
||||
|
||||
#[cfg(all(feature = "mimalloc"))]
|
||||
#[cfg(feature = "mimalloc")]
|
||||
#[global_allocator]
|
||||
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
|
|
|
@ -339,7 +339,7 @@ unsafe fn analyze_source_file_sse2(
|
|||
}
|
||||
|
||||
#[target_feature(enable = "neon")]
|
||||
#[cfg(any(target_arch = "aarch64"))]
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
#[inline]
|
||||
// See https://community.arm.com/arm-community-blogs/b/infrastructure-solutions-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon
|
||||
//
|
||||
|
@ -354,7 +354,7 @@ unsafe fn move_mask(v: std::arch::aarch64::uint8x16_t) -> u64 {
|
|||
}
|
||||
|
||||
#[target_feature(enable = "neon")]
|
||||
#[cfg(any(target_arch = "aarch64"))]
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
unsafe fn analyze_source_file_neon(
|
||||
src: &str,
|
||||
lines: &mut Vec<TextSize>,
|
||||
|
|
Loading…
Reference in a new issue