Revert "Revert "chore: Bump Rust to 1.89 (#35788)"" (#35937)

Reverts zed-industries/zed#35843

Docker image for 1.89 is now up.
This commit is contained in:
Piotr Osiewicz 2025-08-09 23:48:58 +02:00 committed by GitHub
parent 5901aec40a
commit daa53f2761
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 35 additions and 55 deletions

View file

@ -1,28 +1,6 @@
use std::ops::Deref;
use windows::Win32::{Foundation::HANDLE, UI::WindowsAndMessaging::HCURSOR};
#[derive(Debug, Clone, Copy)]
pub(crate) struct SafeHandle {
raw: HANDLE,
}
unsafe impl Send for SafeHandle {}
unsafe impl Sync for SafeHandle {}
impl From<HANDLE> for SafeHandle {
fn from(value: HANDLE) -> Self {
SafeHandle { raw: value }
}
}
impl Deref for SafeHandle {
type Target = HANDLE;
fn deref(&self) -> &Self::Target {
&self.raw
}
}
use windows::Win32::UI::WindowsAndMessaging::HCURSOR;
#[derive(Debug, Clone, Copy)]
pub(crate) struct SafeCursor {