Skip to content

Commit

Permalink
Unrolled build for rust-lang#116191
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#116191 - apekros:issue-56098, r=petrochenkov

Add regression test for rust-lang#56098

Closes rust-lang#56098
  • Loading branch information
rust-timer authored Sep 28, 2023
2 parents dd91aba + ac9707d commit e6233d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ui/foreign/foreign-fn-linkname.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// ignore-wasm32-bare no libc to test ffi with
// ignore-sgx no libc

// Ensure no false positive on "unused extern crate" lint
#![deny(unused_extern_crates)]

#![feature(rustc_private)]

extern crate libc;
Expand Down

0 comments on commit e6233d6

Please sign in to comment.