Skip to content

Commit

Permalink
2021 -> 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on committed Dec 16, 2024
1 parent ebe30af commit 0e51b62
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ethexe-pre-commit: ethexe-contracts-pre-commit ethexe-pre-commit-no-contracts

.PHONY: ethexe-pre-commit-no-contracts
ethexe-pre-commit-no-contracts:
@ echo " > Formatting ethexe" && cargo +nightly fmt --all -- --config imports_granularity=Crate,edition=2021
@ echo " > Formatting ethexe" && cargo +nightly fmt --all -- --config imports_granularity=Crate,edition=2024
@ echo " >> Clippy checking ethexe" && cargo clippy -p "ethexe-*" --all-targets --all-features -- --no-deps -D warnings
@ echo " >>> Testing ethexe" && cargo nextest run -p "ethexe-*"

Expand Down
2 changes: 1 addition & 1 deletion gtest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
//! name = "my-gear-app"
//! version = "0.1.0"
//! authors = ["Your Name"]
//! edition = "2021"
//! edition = "2024"
//!
//! [dependencies]
//! gstd = { git = "https://github.com/gear-tech/gear.git", tag = "v1.0.1" }
Expand Down
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
edition = "2021"
edition = "2024"
imports_granularity = "Crate"
2 changes: 1 addition & 1 deletion utils/cargo-gbuild/test-program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gbuild-test-program"
version = "0.1.0"
edition = "2021"
edition = "2024"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion utils/cargo-gbuild/test-program/bar/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gbuild-test-bar"
version = "0.1.0"
edition = "2021"
edition = "2024"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion utils/cargo-gbuild/test-program/foo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gbuild-test-foo"
version = "0.1.0"
edition = "2021"
edition = "2024"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion utils/cargo-gbuild/test-program/meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gbuild-test-meta"
version = "0.1.0"
edition = "2021"
edition = "2024"

[lib]
crate-type = ["cdylib"]
Expand Down
4 changes: 2 additions & 2 deletions utils/wasm-builder/src/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl WasmProject {
let mut package = Table::new();
package.insert("name".into(), format!("{}-wasm", &crate_info.name).into());
package.insert("version".into(), crate_info.version.into());
package.insert("edition".into(), "2021".into());
package.insert("edition".into(), "2024".into());

let mut lib = Table::new();
lib.insert("name".into(), crate_info.snake_case_name.into());
Expand Down Expand Up @@ -271,7 +271,7 @@ impl WasmProject {
r#"{source_code}
#[allow(improper_ctypes)]
mod fake_gsys {{
extern "C" {{
unsafe extern "C" {{
pub fn gr_reply(
payload: *const u8,
len: u32,
Expand Down
2 changes: 1 addition & 1 deletion utils/wasm-builder/test-program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "test-program"
version = "0.1.0"
edition = "2021"
edition = "2024"

[dependencies]
gstd = { path = "../../../gstd", features = ["debug"] }
Expand Down

0 comments on commit 0e51b62

Please sign in to comment.