diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 273b8d4f8..bbec6d848 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,7 +3,7 @@ env:
# version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still
# come automatically. If the version specified here is no longer the latest stable version,
# then please feel free to submit a PR that adjusts it along with the potential clippy fixes.
- RUST_STABLE_VER: "1.76" # In quotes because otherwise 1.70 would be interpreted as 1.7
+ RUST_STABLE_VER: "1.82" # In quotes because otherwise 1.70 would be interpreted as 1.7
name: CI
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6e51d5a07..7c9a1ebc8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,8 @@ You can find its changes [documented below](#083---2023-02-28).
### Changed
+- Windows: Custom cursor is now encapsulated by `Rc` instead of `Arc`. ([#2409] by [@xStrom])
+
### Deprecated
### Removed
@@ -1241,6 +1243,7 @@ Last release without a changelog :(
[#2378]: https://github.com/linebender/druid/pull/2378
[#2380]: https://github.com/linebender/druid/pull/2380
[#2402]: https://github.com/linebender/druid/pull/2402
+[#2409]: https://github.com/linebender/druid/pull/2409
[Unreleased]: https://github.com/linebender/druid/compare/v0.8.3...master
[0.8.3]: https://github.com/linebender/druid/compare/v0.8.2...v0.8.3
diff --git a/druid-derive/tests/ignore.rs b/druid-derive/tests/ignore.rs
index ba08ffe03..1b4e1d67f 100644
--- a/druid-derive/tests/ignore.rs
+++ b/druid-derive/tests/ignore.rs
@@ -24,6 +24,7 @@ fn ignore_item_without_data_impl() {
use std::path::PathBuf;
#[derive(Clone, Data)]
+ #[allow(dead_code)]
struct CoolStruct {
len: usize,
#[data(ignore)]
@@ -35,7 +36,12 @@ fn ignore_item_without_data_impl() {
#[test]
fn tuple_struct() {
#[derive(Clone, Data)]
- struct Tup(usize, #[data(ignore)] usize);
+ struct Tup(
+ usize,
+ #[data(ignore)]
+ #[allow(dead_code)]
+ usize,
+ );
let one = Tup(1, 1);
let two = Tup(1, 5);
diff --git a/druid-derive/tests/with_same.rs b/druid-derive/tests/with_same.rs
index 7255528d6..ca7e8c13f 100644
--- a/druid-derive/tests/with_same.rs
+++ b/druid-derive/tests/with_same.rs
@@ -14,22 +14,22 @@ fn same_fn() {
let one = Nanana {
bits: 1.0,
- peq: std::f64::NAN,
+ peq: f64::NAN,
};
let two = Nanana {
bits: 1.0,
- peq: std::f64::NAN,
+ peq: f64::NAN,
};
//according to partialeq, two NaNs are never equal
assert!(!one.same(&two));
let one = Nanana {
- bits: std::f64::NAN,
+ bits: f64::NAN,
peq: 1.0,
};
let two = Nanana {
- bits: std::f64::NAN,
+ bits: f64::NAN,
peq: 1.0,
};
@@ -51,17 +51,13 @@ fn enums() {
Tri(#[data(same_fn = "same_sign")] f64),
}
- let oneone = Hi::One {
- bits: std::f64::NAN,
- };
- let onetwo = Hi::One {
- bits: std::f64::NAN,
- };
+ let oneone = Hi::One { bits: f64::NAN };
+ let onetwo = Hi::One { bits: f64::NAN };
assert!(oneone.same(&onetwo));
let twoone = Hi::Two { bits: -1.1 };
let twotwo = Hi::Two {
- bits: std::f64::NEG_INFINITY,
+ bits: f64::NEG_INFINITY,
};
assert!(twoone.same(&twotwo));
diff --git a/druid-shell/src/application.rs b/druid-shell/src/application.rs
index 97483f6e3..c1f26529e 100644
--- a/druid-shell/src/application.rs
+++ b/druid-shell/src/application.rs
@@ -50,7 +50,7 @@ static APPLICATION_CREATED: AtomicBool = AtomicBool::new(false);
thread_local! {
/// A reference object to the current `Application`, if any.
- static GLOBAL_APP: RefCell