diff --git a/.rustfmt.toml b/.rustfmt.toml index cc1e97c3..0a9d92b8 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,4 +1,3 @@ hard_tabs = true group_imports = "StdExternalCrate" imports_granularity = "Crate" -style_edition = "2024" diff --git a/Cargo.toml b/Cargo.toml index f249ad74..c6caeb48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ authors = [ "Jonathan Klimt ", "Jens Breitbart ", ] -edition = "2021" +edition = "2024" description = "A specialized hypervisor for Hermit" repository = "https://github.com/hermit-os/uhyve" license = "MIT OR Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index 4b0b020e..a4891c6b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,4 @@ #![warn(rust_2018_idioms)] -#![warn(unsafe_op_in_unsafe_fn)] #![allow(unused_macros)] #![allow(clippy::missing_safety_doc)] #![allow(clippy::useless_conversion)] diff --git a/tests/test-kernels/Cargo.toml b/tests/test-kernels/Cargo.toml index 91d91fa4..b111dcca 100644 --- a/tests/test-kernels/Cargo.toml +++ b/tests/test-kernels/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Jonathan Klimt ", 'Panagiotis "Ivory" Vasilopoulos ', ] -edition = "2021" +edition = "2024" publish = false [target.'cfg(target_os = "hermit")'.dependencies] diff --git a/uhyve-interface/Cargo.toml b/uhyve-interface/Cargo.toml index c89ed35d..4220a76f 100644 --- a/uhyve-interface/Cargo.toml +++ b/uhyve-interface/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "uhyve-interface" version = "0.1.3" -edition = "2021" +edition = "2024" authors = [ "Jonathan Klimt ", "Stefan Lankes ",