diff --git a/Cargo.toml b/Cargo.toml index 96397031c0..1adf60e09f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ keywords = ["unikernel", "libos"] categories = ["os"] repository = "https://github.com/hermit-os/kernel" documentation = "https://hermit-os.github.io/kernel/hermit/" -edition = "2021" +edition = "2024" description = "A Rust-based library operating system" exclude = [ "/.github/*", diff --git a/hermit-builtins/Cargo.toml b/hermit-builtins/Cargo.toml index a1840df8f2..5c664be635 100644 --- a/hermit-builtins/Cargo.toml +++ b/hermit-builtins/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "hermit-builtins" version = "0.1.0" -edition = "2021" +edition = "2024" [dependencies] libm = "0.2" diff --git a/hermit-macro/Cargo.toml b/hermit-macro/Cargo.toml index eb04386fb0..bcca10e8a8 100644 --- a/hermit-macro/Cargo.toml +++ b/hermit-macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "hermit-macro" version = "0.1.0" -edition = "2021" +edition = "2024" [lib] proc-macro = true diff --git a/rustfmt.toml b/rustfmt.toml index c3179e46aa..7e231d7f97 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -2,4 +2,3 @@ group_imports = "StdExternalCrate" hard_tabs = true hex_literal_case = "Lower" imports_granularity = "Module" -style_edition = "2024" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 49e315fd53..dbf256ea87 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "xtask" version = "0.1.0" -edition = "2021" +edition = "2024" [dependencies] anyhow = "1.0"