Skip to content

Commit e5aa09c

Browse files
authored
Merge pull request rust-lang#308 from tgross35/bump-edition
Set edition to 2021 for all crates
2 parents b5202e5 + d94e844 commit e5aa09c

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "libm"
99
readme = "README.md"
1010
repository = "https://github.com/rust-lang/libm"
1111
version = "0.2.8"
12-
edition = "2018"
12+
edition = "2021"
1313
exclude = ["/ci/", "/.github/workflows/"]
1414

1515
[features]

crates/compiler-builtins-smoke-test/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "cb"
33
version = "0.1.0"
44
authors = ["Jorge Aparicio <[email protected]>"]
5+
edition = "2021"
56

67
[lib]
78
test = false

crates/compiler-builtins-smoke-test/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//!
33
//! This is used to test that we can source import `libm` into the compiler-builtins crate.
44
5+
#![feature(core_intrinsics)]
6+
#![allow(internal_features)]
57
#![allow(dead_code)]
68
#![no_std]
79

crates/libm-bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "libm-bench"
33
version = "0.1.0"
44
authors = ["Gonzalo Brito Gadeschi <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77

88
[dependencies]

0 commit comments

Comments
 (0)