Skip to content

Commit c08f604

Browse files
committed
v1.45.2
1 parent 6f12ec2 commit c08f604

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ By default the working directory is `/root/src`.
2323
docker run --rm \
2424
--volume "${PWD}/sample":/root/src \
2525
--workdir /root/src \
26-
joseluisq/rust-linux-darwin-builder:1.45.1 \
26+
joseluisq/rust-linux-darwin-builder:1.45.2 \
2727
sh -c "cargo build --release"
2828
```
2929

@@ -33,7 +33,7 @@ docker run --rm \
3333
docker run --rm \
3434
--volume "${PWD}/sample":/root/src \
3535
--workdir /root/src \
36-
joseluisq/rust-linux-darwin-builder:1.45.1 \
36+
joseluisq/rust-linux-darwin-builder:1.45.2 \
3737
sh -c "cargo build --release --target x86_64-apple-darwin"
3838
```
3939

@@ -42,7 +42,7 @@ docker run --rm \
4242
You can also use the image as a base for your own Dockerfile:
4343

4444
```Dockerfile
45-
FROM joseluisq/rust-linux-darwin-builder:1.45.1
45+
FROM joseluisq/rust-linux-darwin-builder:1.45.2
4646
```
4747

4848
### Cross-compilation example
@@ -61,7 +61,7 @@ compile:
6161
@docker run --rm -it \
6262
-v $(PWD):/drone/src \
6363
-w /drone/src \
64-
joseluisq/rust-linux-darwin-builder:1.45.1 \
64+
joseluisq/rust-linux-darwin-builder:1.45.2 \
6565
make cross-compile
6666
.PHONY: compile
6767

@@ -86,13 +86,13 @@ Just run the makefile `compile` target, then you will see two release binaries `
8686
make compile
8787
# 1. Cross compiling example...
8888

89-
# rustc 1.45.1 (b8cedc004 2020-03-09)
89+
# rustc 1.45.2 (d3fb005a3 2020-07-31)
9090
# binary: rustc
91-
# commit-hash: b8cedc00407a4c56a3bda1ed605c6fc166655447
92-
# commit-date: 2020-03-09
91+
# commit-hash: d3fb005a39e62501b8b0b356166e515ae24e2e54
92+
# commit-date: 2020-07-31
9393
# host: x86_64-unknown-linux-gnu
94-
# release: 1.45.1
95-
# LLVM version: 9.0
94+
# release: 1.45.2
95+
# LLVM version: 10.0
9696

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

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,5 @@ LABEL org.opencontainers.image.vendor="Jose Quintana" \
189189
org.opencontainers.image.url="https://github.com/joseluisq/rust-linux-darwin-builder" \
190190
org.opencontainers.image.title="Rust Linux / Darwin Builder" \
191191
org.opencontainers.image.description="Use same Docker image for compiling Rust programs for Linux (musl libc) & macOS (osxcross)." \
192-
org.opencontainers.image.version="v1.45.1" \
192+
org.opencontainers.image.version="v1.45.2" \
193193
org.opencontainers.image.documentation="https://github.com/joseluisq/rust-linux-darwin-builder"

0 commit comments

Comments
 (0)