Compare commits

...
Author SHA1 Message Date
fetch 79dd0ba3b4 Just reset rustflag 2025-09-08 21:48:48 +01:00
fetch 2343f82560 Use lld actually 2025-09-08 21:42:29 +01:00
fetch 59972e0401 Back to mold 2025-09-08 21:38:49 +01:00
fetch 6d0c3ff9db Vs ld 2025-09-08 21:38:32 +01:00
fetch 2c7d58575c Use mold 2025-09-08 21:06:27 +01:00
+2 -1
View File
@@ -5,10 +5,11 @@ FROM rust:1.89.0 AS build
WORKDIR /usr/src/labrinth
COPY . .
ARG GIT_HASH
RUN apt-get update && apt-get install -y mold
RUN --mount=type=cache,target=/usr/src/labrinth/target \
--mount=type=cache,target=/usr/local/cargo/git/db \
--mount=type=cache,target=/usr/local/cargo/registry \
SQLX_OFFLINE=true cargo build --profile release-labrinth --package labrinth
SQLX_OFFLINE=true RUSTFLAGS="" cargo build --profile release-labrinth --package labrinth
FROM build AS artifacts