Skip to content

Commit de44884

Browse files
authored
Merge pull request #1076 from godot-rust/qol/msrv
Bump MSRV from 1.80 to 1.85
2 parents b568129 + 2f84147 commit de44884

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

.github/workflows/full-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147

148148
- name: linux
149149
os: ubuntu-22.04
150-
rust-toolchain: "1.80"
150+
rust-toolchain: "1.85"
151151
rust-special: -msrv
152152

153153
steps:

.github/workflows/update-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
# Keep this a variable for easy search&replace.
22-
MSRV: 1.80
22+
MSRV: 1.85
2323

2424
jobs:
2525
notify-docs:

examples/dodge-the-creeps/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "dodge-the-creeps"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
publish = false
88

examples/hot-reload/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "hot-reload"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.70"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
publish = false
88

godot-bindings/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-bindings"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "ffi", "sys"]
88
categories = ["game-engines", "graphics"]

godot-cell/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-cell"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "ffi"]
88
categories = ["game-engines", "graphics"]

godot-codegen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-codegen"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "codegen"]
88
categories = ["game-engines", "graphics"]

godot-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-core"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "2d", "3d"] # possibly: "ffi"
88
categories = ["game-engines", "graphics"]

godot-core/src/meta/args/ref_arg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,6 @@ where
193193
}
194194

195195
fn is_null(&self) -> bool {
196-
self.shared_ref.map_or(true, T::is_null)
196+
self.shared_ref.is_none_or(T::is_null)
197197
}
198198
}

godot-core/src/obj/script.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ where
362362

363363
if object_script_variant
364364
.object_id()
365-
.map_or(true, |instance_id| instance_id != script.instance_id())
365+
.is_none_or(|instance_id| instance_id != script.instance_id())
366366
{
367367
return false;
368368
}

godot-ffi/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-ffi"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "ffi"]
88
categories = ["game-engines", "graphics"]

godot-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot-macros"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "derive", "macro"]
88
categories = ["game-engines", "graphics"]

godot-macros/src/itest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub fn attribute_itest(input_item: venial::Item) -> ParseResult<TokenStream> {
6767
.return_ty
6868
.as_ref()
6969
.and_then(extract_typename)
70-
.map_or(true, |segment| segment.ident != "TaskHandle")
70+
.is_none_or(|segment| segment.ident != "TaskHandle")
7171
{
7272
return bad_async_signature(&func);
7373
}

godot/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "godot"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
keywords = ["gamedev", "godot", "engine", "2d", "3d"] # possibly: "ffi"
88
categories = ["game-engines", "graphics"]

itest/repo-tweak/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "repo-tweak"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
publish = false
88

itest/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "itest"
33
version = "0.0.0"
44
edition = "2021"
5-
rust-version = "1.80"
5+
rust-version = "1.85"
66
license = "MPL-2.0"
77
publish = false
88

0 commit comments

Comments
 (0)