From 535b850ea1bc25fbaab567adb2d89f3af049d862 Mon Sep 17 00:00:00 2001 From: Ross Andrews Date: Mon, 7 Sep 2026 15:19:07 -0500 Subject: [PATCH] Update to Rust 2024 --- forge_core/Cargo.toml | 2 +- novaforth/Cargo.toml | 2 +- vasm/Cargo.toml | 2 +- vasm_core/Cargo.toml | 2 +- vcore/Cargo.toml | 2 +- vcore/src/memory.rs | 2 +- vemu/Cargo.toml | 2 +- vgfx/Cargo.toml | 2 +- vlua/Cargo.toml | 2 +- vtest/Cargo.toml | 2 +- vweb/Cargo.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/forge_core/Cargo.toml b/forge_core/Cargo.toml index 8339f90..6c2a4e6 100644 --- a/forge_core/Cargo.toml +++ b/forge_core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "forge_core" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/novaforth/Cargo.toml b/novaforth/Cargo.toml index a91b39d..7e6505b 100644 --- a/novaforth/Cargo.toml +++ b/novaforth/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "novaforth" version = "0.1.0" -edition = "2021" +edition = "2024" [build-dependencies] vasm_core = { path = "../vasm_core" } diff --git a/vasm/Cargo.toml b/vasm/Cargo.toml index 59ff9de..add7252 100644 --- a/vasm/Cargo.toml +++ b/vasm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vasm" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vasm_core/Cargo.toml b/vasm_core/Cargo.toml index 3396edf..c71e4e0 100644 --- a/vasm_core/Cargo.toml +++ b/vasm_core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vasm_core" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vcore/Cargo.toml b/vcore/Cargo.toml index 4e2fba7..3062e56 100644 --- a/vcore/Cargo.toml +++ b/vcore/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vcore" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vcore/src/memory.rs b/vcore/src/memory.rs index ec49ac9..78fd07a 100644 --- a/vcore/src/memory.rs +++ b/vcore/src/memory.rs @@ -14,7 +14,7 @@ impl From for Memory { fn from(mut rng: R) -> Self { let mut mem = Memory::default(); for i in 0..(MEM_SIZE - 1) { - mem.0[i as usize] = rng.gen() + mem.0[i as usize] = rng.r#gen() } mem } diff --git a/vemu/Cargo.toml b/vemu/Cargo.toml index 2351886..636748e 100644 --- a/vemu/Cargo.toml +++ b/vemu/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vemu" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vgfx/Cargo.toml b/vgfx/Cargo.toml index 133d24c..5bd6666 100644 --- a/vgfx/Cargo.toml +++ b/vgfx/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vgfx" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vlua/Cargo.toml b/vlua/Cargo.toml index d30d241..6b4b9a8 100644 --- a/vlua/Cargo.toml +++ b/vlua/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vlua" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vtest/Cargo.toml b/vtest/Cargo.toml index bc54a48..ab1d6af 100644 --- a/vtest/Cargo.toml +++ b/vtest/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vtest" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vweb/Cargo.toml b/vweb/Cargo.toml index d67dbba..5f50484 100644 --- a/vweb/Cargo.toml +++ b/vweb/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "vweb" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html