Skip to content

Commit 4d6e072

Browse files
committed
v1.75.0
- debian 12.4 - rust 1.75.0
1 parent f15a278 commit 4d6e072

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

Dockerfile

+1-1
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.2-slim
3+
FROM debian:12.4-slim
44

55
ARG VERSION=0.0.0
66
ENV VERSION=${VERSION}

README.md

+14-17
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<div>
22
<div align="center">
3-
<img
4-
src="https://camo.githubusercontent.com/a08032a2db94aea229991af8f73c45cc95174c8066dc7a6b1f88a79c94cf1093/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f7468756d622f642f64352f527573745f70726f6772616d6d696e675f6c616e67756167655f626c61636b5f6c6f676f2e7376672f3130323470782d527573745f70726f6772616d6d696e675f6c616e67756167655f626c61636b5f6c6f676f2e7376672e706e67"
5-
height="100" width="100"
6-
/>
3+
<img src="https://www.rust-lang.org/logos/rust-logo-blk.svg" height="100" width="100" />
74
</div>
85

96
<h1 align="center">Rust Linux / Darwin Builder</h1>
@@ -45,7 +42,7 @@ Below are the default toolchains included in the Docker image.
4542
docker run --rm \
4643
--volume "${PWD}/sample":/root/src \
4744
--workdir /root/src \
48-
joseluisq/rust-linux-darwin-builder:1.74.1 \
45+
joseluisq/rust-linux-darwin-builder:1.75.0 \
4946
sh -c "cargo build --release --target x86_64-unknown-linux-musl"
5047
```
5148

@@ -55,7 +52,7 @@ docker run --rm \
5552
docker run --rm \
5653
--volume "${PWD}/sample":/root/src \
5754
--workdir /root/src \
58-
joseluisq/rust-linux-darwin-builder:1.74.1 \
55+
joseluisq/rust-linux-darwin-builder:1.75.0 \
5956
sh -c "cargo build --release --target x86_64-unknown-linux-gnu"
6057
```
6158

@@ -65,7 +62,7 @@ docker run --rm \
6562
docker run --rm \
6663
--volume "${PWD}/sample":/root/src \
6764
--workdir /root/src \
68-
joseluisq/rust-linux-darwin-builder:1.74.1 \
65+
joseluisq/rust-linux-darwin-builder:1.75.0 \
6966
sh -c "cargo build --release --target x86_64-apple-darwin"
7067
```
7168

@@ -77,7 +74,7 @@ docker run --rm \
7774
docker run --rm \
7875
--volume "${PWD}/sample":/root/src \
7976
--workdir /root/src \
80-
joseluisq/rust-linux-darwin-builder:1.74.1 \
77+
joseluisq/rust-linux-darwin-builder:1.75.0 \
8178
sh -c "cargo build --release --target aarch64-unknown-linux-gnu"
8279
```
8380

@@ -87,7 +84,7 @@ docker run --rm \
8784
docker run --rm \
8885
--volume "${PWD}/sample":/root/src \
8986
--workdir /root/src \
90-
joseluisq/rust-linux-darwin-builder:1.74.1 \
87+
joseluisq/rust-linux-darwin-builder:1.75.0 \
9188
sh -c "cargo build --release --target aarch64-unknown-linux-musl"
9289
```
9390

@@ -97,7 +94,7 @@ docker run --rm \
9794
docker run --rm \
9895
--volume "${PWD}/sample":/root/src \
9996
--workdir /root/src \
100-
joseluisq/rust-linux-darwin-builder:1.74.1 \
97+
joseluisq/rust-linux-darwin-builder:1.75.0 \
10198
sh -c "cargo build --release --target aarch64-apple-darwin"
10299
```
103100

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

112109
```Dockerfile
113-
FROM joseluisq/rust-linux-darwin-builder:1.74.1
110+
FROM joseluisq/rust-linux-darwin-builder:1.75.0
114111
```
115112

116113
### OSXCross
@@ -153,7 +150,7 @@ compile:
153150
@docker run --rm -it \
154151
-v $(PWD):/drone/src \
155152
-w /drone/src \
156-
joseluisq/rust-linux-darwin-builder:1.74.1 \
153+
joseluisq/rust-linux-darwin-builder:1.75.0 \
157154
make cross-compile
158155
.PHONY: compile
159156

@@ -178,13 +175,13 @@ Just run the makefile `compile` target, then you will see two release binaries `
178175
make compile
179176
# 1. Cross compiling example...
180177

181-
# rustc 1.74.1 (a28077b28 2023-12-04)
178+
# rustc 1.75.0 (82e1608df 2023-12-21)
182179
# binary: rustc
183-
# commit-hash: a28077b28a02b92985b3a3faecf92813155f1ea1
184-
# commit-date: 2023-12-04
180+
# commit-hash: 82e1608dfa6e0b5569232559e3d385fea5a93112
181+
# commit-date: 2023-12-21
185182
# host: aarch64-unknown-linux-gnu
186-
# release: 1.74.1
187-
# LLVM version: 17.0.4
183+
# release: 1.75.0
184+
# LLVM version: 17.0.6
188185

189186
# 2. Compiling application (linux-musl x86_64)...
190187
# Finished release [optimized] target(s) in 0.01s

0 commit comments

Comments
 (0)