Skip to content

Commit 83c3ffe

Browse files
authored
Try #686:
2 parents 6d9bc20 + 65fed44 commit 83c3ffe

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ jobs:
102102
if: ${{ matrix.is_windows }}
103103
run: cargo build --target x86_64-pc-windows-msvc --release;
104104

105+
rustc-1-46:
106+
continue-on-error: ${{ matrix.experimental }}
107+
needs: rustfmt
108+
runs-on: ubuntu-latest
109+
steps:
110+
- uses: actions/checkout@v2
111+
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f
112+
with:
113+
toolchain: 1.46.0
114+
- name: Checking rustfmt
115+
run: cargo check --all --all-features;
116+
105117
test_ios:
106118
continue-on-error: ${{ matrix.experimental }}
107119
needs: rustfmt
@@ -260,6 +272,7 @@ jobs:
260272
- clippy
261273
- rustfmt
262274
- test
275+
- rustc-1-46
263276
- test_ios
264277
- test_android
265278
- godot_test

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.3] - 2020-02-02
9+
10+
### Fixed
11+
12+
- **The code now compiles on rustc versions not affected by https://github.com/rust-lang/rust/issues/79904**
13+
814
## [0.9.2] - 2020-02-01
915

1016
### Added

gdnative-core/src/object.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,9 @@ pub trait RefKindSpec: Sized {
11561156
#[doc(hidden)]
11571157
unsafe fn impl_from_maybe_ref_counted<T: GodotObject<RefKind = Self>>(
11581158
ptr: NonNull<sys::godot_object>,
1159-
) -> Option<Ref<T, Unique>>;
1159+
) -> Option<Ref<T, Unique>>
1160+
where
1161+
Self: RefKind;
11601162

11611163
#[doc(hidden)]
11621164
unsafe fn impl_assume_safe<'a, T: GodotObject<RefKind = Self>>(

0 commit comments

Comments
 (0)