From 9732496d898d0b8f45f8a5b3b381b84e6fb3f39a Mon Sep 17 00:00:00 2001 From: Andrey Turkin Date: Tue, 25 Jun 2024 13:52:02 +0300 Subject: [PATCH] Get rid of a warning --- Cargo.toml | 2 +- build.rs | 2 -- crates/panic-handler/Cargo.toml | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ab4395159..c8d78ec3e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ readme = "README.md" repository = "https://github.com/rust-lang/compiler-builtins" homepage = "https://github.com/rust-lang/compiler-builtins" documentation = "https://docs.rs/compiler_builtins" -edition = "2018" +edition = "2021" description = """ Compiler intrinsics used by the Rust compiler. Also available for other targets if necessary! diff --git a/build.rs b/build.rs index 0ecd39911..d7e3be594 100644 --- a/build.rs +++ b/build.rs @@ -219,8 +219,6 @@ fn configure_check_cfg() { #[cfg(feature = "c")] mod c { - extern crate cc; - use std::collections::{BTreeMap, HashSet}; use std::env; use std::fs::{self, File}; diff --git a/crates/panic-handler/Cargo.toml b/crates/panic-handler/Cargo.toml index 1dea613d1..4fb81eb82 100644 --- a/crates/panic-handler/Cargo.toml +++ b/crates/panic-handler/Cargo.toml @@ -2,5 +2,6 @@ name = "panic-handler" version = "0.1.0" authors = ["Alex Crichton "] +edition = "2021" [dependencies]