mirror of
https://github.com/swc-project/swc.git
synced 2025-01-08 23:10:13 +03:00
fix(common): Allow using with MIRI (#1426)
This commit is contained in:
parent
7f5bfdcc00
commit
abfff69300
@ -53,7 +53,7 @@ cfg_if::cfg_if! {
|
||||
lines: &mut Vec<BytePos>,
|
||||
multi_byte_chars: &mut Vec<MultiByteChar>,
|
||||
non_narrow_chars: &mut Vec<NonNarrowChar>) {
|
||||
if is_x86_feature_detected!("sse2") {
|
||||
if is_x86_feature_detected!("sse2") && cfg!(not(miri)) {
|
||||
unsafe {
|
||||
analyze_source_file_sse2(src,
|
||||
source_file_start_pos,
|
||||
|
Loading…
Reference in New Issue
Block a user