Set edition to 2021 for all crates

This commit is contained in:
Trevor Gross 2024-10-07 00:18:41 -05:00
parent 217baa6196
commit d3943b1863
4 changed files with 5 additions and 2 deletions

View file

@ -9,7 +9,7 @@ name = "libm"
readme = "README.md"
repository = "https://github.com/rust-lang/libm"
version = "0.2.8"
edition = "2018"
edition = "2021"
exclude = ["/ci/", "/.github/workflows/"]
[features]

View file

@ -2,6 +2,7 @@
name = "cb"
version = "0.1.0"
authors = ["Jorge Aparicio <jorge@japaric.io>"]
edition = "2021"
[lib]
test = false

View file

@ -2,6 +2,8 @@
//!
//! This is used to test that we can source import `libm` into the compiler-builtins crate.
#![feature(core_intrinsics)]
#![allow(internal_features)]
#![allow(dead_code)]
#![no_std]

View file

@ -2,7 +2,7 @@
name = "libm-bench"
version = "0.1.0"
authors = ["Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>"]
edition = "2018"
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]