Skip to content

Commit 4558806

Browse files
committed
v1.81.0
- Debian 12.7 - Rust 1.81.0
1 parent cb742df commit 4558806

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NOTE: Most of Dockerfile and related were borrowed from https://hub.docker.com/r/ekidd/rust-musl-builder
22

3-
FROM debian:12.6-slim
3+
FROM debian:12.7-slim
44

55
ARG VERSION=0.0.0
66
ENV VERSION=${VERSION}
@@ -220,7 +220,7 @@ RUN set -eux \
220220
&& true
221221

222222
# Rust stable toolchain
223-
ARG TOOLCHAIN=1.80.1
223+
ARG TOOLCHAIN=1.81.0
224224

225225
# Install our Rust toolchain and the `musl` target. We patch the
226226
# command-line we pass to the installer so that it won't attempt to

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Below are the default toolchains included in the Docker image.
4242
docker run --rm \
4343
--volume "${PWD}/sample":/root/src \
4444
--workdir /root/src \
45-
joseluisq/rust-linux-darwin-builder:1.80.1 \
45+
joseluisq/rust-linux-darwin-builder:1.81.0 \
4646
sh -c "cargo build --release --target x86_64-unknown-linux-musl"
4747
```
4848

@@ -52,7 +52,7 @@ docker run --rm \
5252
docker run --rm \
5353
--volume "${PWD}/sample":/root/src \
5454
--workdir /root/src \
55-
joseluisq/rust-linux-darwin-builder:1.80.1 \
55+
joseluisq/rust-linux-darwin-builder:1.81.0 \
5656
sh -c "cargo build --release --target x86_64-unknown-linux-gnu"
5757
```
5858

@@ -62,7 +62,7 @@ docker run --rm \
6262
docker run --rm \
6363
--volume "${PWD}/sample":/root/src \
6464
--workdir /root/src \
65-
joseluisq/rust-linux-darwin-builder:1.80.1 \
65+
joseluisq/rust-linux-darwin-builder:1.81.0 \
6666
sh -c "cargo build --release --target x86_64-apple-darwin"
6767
```
6868

@@ -74,7 +74,7 @@ docker run --rm \
7474
docker run --rm \
7575
--volume "${PWD}/sample":/root/src \
7676
--workdir /root/src \
77-
joseluisq/rust-linux-darwin-builder:1.80.1 \
77+
joseluisq/rust-linux-darwin-builder:1.81.0 \
7878
sh -c "cargo build --release --target aarch64-unknown-linux-gnu"
7979
```
8080

@@ -84,7 +84,7 @@ docker run --rm \
8484
docker run --rm \
8585
--volume "${PWD}/sample":/root/src \
8686
--workdir /root/src \
87-
joseluisq/rust-linux-darwin-builder:1.80.1 \
87+
joseluisq/rust-linux-darwin-builder:1.81.0 \
8888
sh -c "cargo build --release --target aarch64-unknown-linux-musl"
8989
```
9090

@@ -94,7 +94,7 @@ docker run --rm \
9494
docker run --rm \
9595
--volume "${PWD}/sample":/root/src \
9696
--workdir /root/src \
97-
joseluisq/rust-linux-darwin-builder:1.80.1 \
97+
joseluisq/rust-linux-darwin-builder:1.81.0 \
9898
sh -c "cargo build --release --target aarch64-apple-darwin"
9999
```
100100

@@ -107,7 +107,7 @@ It's known that the [`CARGO_HOME`](https://doc.rust-lang.org/cargo/guide/cargo-h
107107
You can also use the image as a base for your Dockerfile:
108108

109109
```Dockerfile
110-
FROM joseluisq/rust-linux-darwin-builder:1.80.1
110+
FROM joseluisq/rust-linux-darwin-builder:1.81.0
111111
```
112112

113113
### OSXCross
@@ -150,7 +150,7 @@ compile:
150150
@docker run --rm -it \
151151
-v $(PWD):/app/src \
152152
-w /app/src \
153-
joseluisq/rust-linux-darwin-builder:1.80.1 \
153+
joseluisq/rust-linux-darwin-builder:1.81.0 \
154154
make cross-compile
155155
.PHONY: compile
156156

@@ -174,12 +174,12 @@ Just run the makefile `compile` target, then you will see two release binaries `
174174
```sh
175175
make compile
176176
# 1. Cross compiling example...
177-
# rustc 1.80.1 (3f5fd8dd4 2024-08-06)
177+
# rustc 1.81.0 (eeb90cda1 2024-09-04)
178178
# binary: rustc
179-
# commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
180-
# commit-date: 2024-08-06
179+
# commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
180+
# commit-date: 2024-09-04
181181
# host: x86_64-unknown-linux-gnu
182-
# release: 1.80.1
182+
# release: 1.81.0
183183
# LLVM version: 18.1.7
184184

185185
# 2. Compiling application (linux-musl x86_64)...

0 commit comments

Comments
 (0)