Update to rust 1.95
This commit is contained in:
parent
f37ee878e1
commit
dd9e04f636
|
|
@ -18,7 +18,7 @@ RUN apt-get update && \
|
||||||
ln -s $(which ld64.lld-21) /usr/bin/ld64.lld && \
|
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
|
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
|
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 llvm.sources /etc/apt/sources.list.d/llvm.sources
|
||||||
COPY install-llvm.sh .
|
COPY install-llvm.sh .
|
||||||
|
|
|
||||||
|
|
@ -400,10 +400,10 @@ impl ApplicationHandler<UserEvent> for Application {
|
||||||
}
|
}
|
||||||
if !response.consumed {
|
if !response.consumed {
|
||||||
match event {
|
match event {
|
||||||
WindowEvent::KeyboardInput { event, .. } => {
|
WindowEvent::KeyboardInput { event, .. }
|
||||||
if !self.app.handle_key_event(viewport_id, &event) {
|
if !self.app.handle_key_event(viewport_id, &event) =>
|
||||||
self.controllers.handle_key_event(&event);
|
{
|
||||||
}
|
self.controllers.handle_key_event(&event);
|
||||||
}
|
}
|
||||||
WindowEvent::Focused(new_focused) => {
|
WindowEvent::Focused(new_focused) => {
|
||||||
self.focused = new_focused.then_some(viewport_id);
|
self.focused = new_focused.then_some(viewport_id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue