Update to rust 1.95

This commit is contained in:
Simon Gellis 2026-04-18 11:23:01 -04:00
parent f37ee878e1
commit dd9e04f636
No known key found for this signature in database
GPG Key ID: DA576912FED9577B
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ RUN apt-get update && \
ln -s $(which ld64.lld-21) /usr/bin/ld64.lld && \
SDK_VERSION=14.5 UNATTENDED=1 ENABLE_COMPILER_RT_INSTALL=1 TARGET_DIR=/osxcross ./build.sh
FROM rust:1.94-bookworm
FROM rust:1.95-bookworm
ADD --chmod=644 "https://apt.llvm.org/llvm-snapshot.gpg.key" /etc/apt/trusted.gpg.d/apt.llvm.org.asc
COPY llvm.sources /etc/apt/sources.list.d/llvm.sources
COPY install-llvm.sh .

View File

@ -400,10 +400,10 @@ impl ApplicationHandler<UserEvent> for Application {
}
if !response.consumed {
match event {
WindowEvent::KeyboardInput { event, .. } => {
if !self.app.handle_key_event(viewport_id, &event) {
self.controllers.handle_key_event(&event);
}
WindowEvent::KeyboardInput { event, .. }
if !self.app.handle_key_event(viewport_id, &event) =>
{
self.controllers.handle_key_event(&event);
}
WindowEvent::Focused(new_focused) => {
self.focused = new_focused.then_some(viewport_id);