From c58b6926c3da3dbd775b1904581e363c1b1b3e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Thu, 2 Jan 2025 13:51:29 +0100 Subject: [PATCH] fix(tests): `unused_extern_crates` --- tests/basic_math.rs | 1 - tests/basic_print.rs | 1 - tests/measure_startup_time.rs | 2 -- tests/thread.rs | 2 -- 4 files changed, 6 deletions(-) diff --git a/tests/basic_math.rs b/tests/basic_math.rs index a27bef0395..e8049b2624 100644 --- a/tests/basic_math.rs +++ b/tests/basic_math.rs @@ -10,7 +10,6 @@ /// https://github.com/rust-lang/rust/issues/50297#issuecomment-524180479 /// This is of course subject to change, since the whole feature is not stable /// -//extern crate hermit; //extern crate x86_64; #[macro_use] extern crate float_cmp; diff --git a/tests/basic_print.rs b/tests/basic_print.rs index df87bc9a55..739b6a7967 100644 --- a/tests/basic_print.rs +++ b/tests/basic_print.rs @@ -6,7 +6,6 @@ //#![reexport_test_harness_main = "test_main"] //use core::panic::PanicInfo; -extern crate hermit; use common::*; mod common; diff --git a/tests/measure_startup_time.rs b/tests/measure_startup_time.rs index b048bb0b34..d57eb5ef71 100644 --- a/tests/measure_startup_time.rs +++ b/tests/measure_startup_time.rs @@ -1,8 +1,6 @@ #![no_std] #![no_main] -extern crate hermit; - use common::*; mod common; diff --git a/tests/thread.rs b/tests/thread.rs index e75f391e3f..9508c2b885 100644 --- a/tests/thread.rs +++ b/tests/thread.rs @@ -6,8 +6,6 @@ #![feature(custom_test_frameworks)] #![reexport_test_harness_main = "test_main"] -extern crate hermit; - use core::ptr; use core::sync::atomic::AtomicU32; use core::sync::atomic::Ordering::Relaxed;