Rust 1.76

This commit is contained in:
Luke Parker 2024-02-09 02:51:24 -05:00
parent 337e54c672
commit 29633ada1b
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
FROM --platform=linux/amd64 rust:1.75.0-slim-bookworm as builder FROM --platform=linux/amd64 rust:1.76.0-slim-bookworm as builder
# Move to a Debian package snapshot # Move to a Debian package snapshot
RUN rm -rf /etc/apt/sources.list.d/debian.sources && \ RUN rm -rf /etc/apt/sources.list.d/debian.sources && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20231201T000000Z bookworm main" > /etc/apt/sources.list && \ echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20240201T000000Z bookworm main" > /etc/apt/sources.list && \
apt update apt update
# Install dependencies # Install dependencies

View file

@ -129,7 +129,7 @@ fn build_serai_service(release: bool, features: &str, package: &str) -> String {
format!( format!(
r#" r#"
FROM rust:1.75-slim-bookworm as builder FROM rust:1.76-slim-bookworm as builder
COPY --from=mimalloc-debian libmimalloc.so /usr/lib COPY --from=mimalloc-debian libmimalloc.so /usr/lib
RUN echo "/usr/lib/libmimalloc.so" >> /etc/ld.so.preload RUN echo "/usr/lib/libmimalloc.so" >> /etc/ld.so.preload

View file

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "1.75" channel = "1.76"
targets = ["wasm32-unknown-unknown"] targets = ["wasm32-unknown-unknown"]
profile = "minimal" profile = "minimal"
components = ["rust-src", "rustfmt", "clippy"] components = ["rust-src", "rustfmt", "clippy"]