Skip to content

Commit

Permalink
feat: upgrade to Rust 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Feb 23, 2025
1 parent d159c52 commit 72470bd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
hard_tabs = true
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
style_edition = "2024"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
"Jonathan Klimt <[email protected]>",
"Jens Breitbart <[email protected]>",
]
edition = "2021"
edition = "2024"
description = "A specialized hypervisor for Hermit"
repository = "https://github.com/hermit-os/uhyve"
license = "MIT OR Apache-2.0"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion tests/test-kernels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
"Jonathan Klimt <[email protected]>",
'Panagiotis "Ivory" Vasilopoulos <[email protected]>',
]
edition = "2021"
edition = "2024"
publish = false

[target.'cfg(target_os = "hermit")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion uhyve-interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "uhyve-interface"
version = "0.1.3"
edition = "2021"
edition = "2024"
authors = [
"Jonathan Klimt <[email protected]>",
"Stefan Lankes <[email protected]>",
Expand Down

0 comments on commit 72470bd

Please sign in to comment.