Skip to content

Commit eb6d2b6

Browse files
authored
Merge pull request #634 from tea/extern_crate
Get rid of a warning
2 parents 90e28c5 + 9732496 commit eb6d2b6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readme = "README.md"
77
repository = "https://github.com/rust-lang/compiler-builtins"
88
homepage = "https://github.com/rust-lang/compiler-builtins"
99
documentation = "https://docs.rs/compiler_builtins"
10-
edition = "2018"
10+
edition = "2021"
1111
description = """
1212
Compiler intrinsics used by the Rust compiler. Also available for other targets
1313
if necessary!

build.rs

-2
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ fn configure_check_cfg() {
219219

220220
#[cfg(feature = "c")]
221221
mod c {
222-
extern crate cc;
223-
224222
use std::collections::{BTreeMap, HashSet};
225223
use std::env;
226224
use std::fs::{self, File};

crates/panic-handler/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
name = "panic-handler"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
5+
edition = "2021"
56

67
[dependencies]

0 commit comments

Comments
 (0)