Skip to content

Commit

Permalink
Bump the rust edition to 2021.
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Sep 26, 2024
1 parent 899cda3 commit c9c0df8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"

members = [
"plugin",
Expand All @@ -13,7 +14,7 @@ members = [
[workspace.package]
authors = ["Alexander Stocko <as@coder.gg>", "CensoredUsername <cens.username@gmail.com>"]
version = "2.0.0"
edition = "2018"
edition = "2021"

documentation = "https://censoredusername.github.io/dynasm-rs/language/index.html"
repository = "https://github.com/CensoredUsername/dynasm-rs"
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/bf-interpreter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
name = "bf-int"
version = "0.1.0"
authors = ["CensoredUsername <cens.username@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
2 changes: 1 addition & 1 deletion doc/examples/bf-jit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "bf-jit"
version = "0.1.0"
authors = ["CensoredUsername <cens.username@gmail.com>"]
edition = "2018"
edition = "2021"

[[bin]]
name = "bf-jit-x64"
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "hello-world"
version = "0.1.0"
authors = ["CensoredUsername <cens.username@gmail.com>"]
edition = "2018"
edition = "2021"

[[bin]]
name = "hello-world-x64"
Expand Down
1 change: 1 addition & 0 deletions doc/insref/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "insref"
version = "0.1.0"
authors = ["Alexander Stocko <as@coder.gg>", "CensoredUsername <cens.username@gmail.com>"]
default-run = "main"
edition = "2021"

[[bin]]
name = "main"
Expand Down

0 comments on commit c9c0df8

Please sign in to comment.