feat(config): migrate configuration loading to config-rs #68
No files matched your search
@@ -0,0 +1,7 @@
|
||||
ARG TARGET
|
||||
|
||||
FROM ghcr.io/rust-cross/rust-musl-cross:${TARGET}
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends pkg-config \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
Vendored
+7
-4
@@ -11,10 +11,10 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
agent {
|
||||
docker {
|
||||
image "ghcr.io/rust-cross/rust-musl-cross:${TARGET}"
|
||||
alwaysPull true
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.ci'
|
||||
additionalBuildArgs "--pull --build-arg TARGET=${TARGET}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +44,9 @@ pipeline {
|
||||
echo "----------------------------------"
|
||||
|
||||
# 5. Check Toolchain & Build
|
||||
# Force standalone static artifacts across the entire CI matrix.
|
||||
export RUSTFLAGS="${RUSTFLAGS:+$RUSTFLAGS }-C target-feature=+crt-static"
|
||||
|
||||
# We grep for "nightly" in the version string (e.g., "rustc 1.95.0-nightly...")
|
||||
if rustc -V | grep -q "nightly"; then
|
||||
echo "Detected Nightly toolchain. Enabling '-Z build-std' to support panic=abort..."
|
||||
|
||||
Reference in new issue
Block a user