Skip to content

Commit 42e0eb1

Browse files
committed
rust-lang/rust#139455 removed support for extern intrinsics
1 parent d292265 commit 42e0eb1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/scanner/src/analysis.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,8 @@ impl MirVisitor for BodyVisitor<'_> {
441441
let fn_sig = fn_def.fn_sig().skip_binder();
442442
if fn_sig.safety == Safety::Unsafe {
443443
self.props.unsafe_call += 1;
444-
if !matches!(
445-
fn_sig.abi,
446-
Abi::Rust | Abi::RustCold | Abi::RustCall | Abi::RustIntrinsic
447-
) && !fn_def.has_body()
444+
if !matches!(fn_sig.abi, Abi::Rust | Abi::RustCold | Abi::RustCall)
445+
&& !fn_def.has_body()
448446
{
449447
self.props.extern_call += 1;
450448
}

0 commit comments

Comments
 (0)