@@ -45,7 +45,7 @@ Below are the default toolchains included in the Docker image.
4545docker run --rm \
4646 --volume " ${PWD} /sample" :/root/src \
4747 --workdir /root/src \
48- joseluisq/rust-linux-darwin-builder:1.69 .0 \
48+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
4949 sh -c " cargo build --release --target x86_64-unknown-linux-musl"
5050```
5151
@@ -55,7 +55,7 @@ docker run --rm \
5555docker run --rm \
5656 --volume " ${PWD} /sample" :/root/src \
5757 --workdir /root/src \
58- joseluisq/rust-linux-darwin-builder:1.69 .0 \
58+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
5959 sh -c " cargo build --release --target x86_64-unknown-linux-gnu"
6060```
6161
@@ -65,7 +65,7 @@ docker run --rm \
6565docker run --rm \
6666 --volume " ${PWD} /sample" :/root/src \
6767 --workdir /root/src \
68- joseluisq/rust-linux-darwin-builder:1.69 .0 \
68+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
6969 sh -c " cargo build --release --target x86_64-apple-darwin"
7070```
7171
@@ -77,7 +77,7 @@ docker run --rm \
7777docker run --rm \
7878 --volume " ${PWD} /sample" :/root/src \
7979 --workdir /root/src \
80- joseluisq/rust-linux-darwin-builder:1.69 .0 \
80+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
8181 sh -c " cargo build --release --target aarch64-unknown-linux-gnu"
8282```
8383
@@ -87,7 +87,7 @@ docker run --rm \
8787docker run --rm \
8888 --volume " ${PWD} /sample" :/root/src \
8989 --workdir /root/src \
90- joseluisq/rust-linux-darwin-builder:1.69 .0 \
90+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
9191 sh -c " cargo build --release --target aarch64-unknown-linux-musl"
9292```
9393
@@ -97,7 +97,7 @@ docker run --rm \
9797docker run --rm \
9898 --volume " ${PWD} /sample" :/root/src \
9999 --workdir /root/src \
100- joseluisq/rust-linux-darwin-builder:1.69 .0 \
100+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
101101 sh -c " cargo build --release --target aarch64-apple-darwin"
102102```
103103
@@ -110,7 +110,7 @@ It's known that the [`CARGO_HOME`](https://doc.rust-lang.org/cargo/guide/cargo-h
110110You can also use the image as a base for your Dockerfile:
111111
112112``` Dockerfile
113- FROM joseluisq/rust-linux-darwin-builder:1.69 .0
113+ FROM joseluisq/rust-linux-darwin-builder:1.70 .0
114114```
115115
116116### OSXCross
@@ -127,14 +127,14 @@ Examples:
127127``` sh
128128Example usage:
129129
130- Example 1: CC=o32-clang ./configure --host=i386-apple-darwin21.4
131- Example 2: CC=i386-apple-darwin21.4 -clang ./configure --host=i386-apple-darwin21.4
130+ Example 1: CC=o32-clang ./configure --host=i386-apple-darwin22.2
131+ Example 2: CC=i386-apple-darwin22.2 -clang ./configure --host=i386-apple-darwin22.2
132132Example 3: o64-clang -Wall test.c -o test
133- Example 4: x86_64-apple-darwin21.4 -strip -x test
133+ Example 4: x86_64-apple-darwin22.2 -strip -x test
134134
135- !!! Use aarch64-apple-darwin21.4 -* instead of arm64-* when dealing with Automake !!!
136- !!! CC=aarch64-apple-darwin21.4 -clang ./configure --host=aarch64-apple-darwin21.4 !!!
137- !!! CC=" aarch64-apple-darwin21.4 -clang -arch arm64e" ./configure --host=aarch64-apple-darwin21.4 !!!
135+ !!! Use aarch64-apple-darwin22.2 -* instead of arm64-* when dealing with Automake !!!
136+ !!! CC=aarch64-apple-darwin22.2 -clang ./configure --host=aarch64-apple-darwin22.2 !!!
137+ !!! CC=" aarch64-apple-darwin22.2 -clang -arch arm64e" ./configure --host=aarch64-apple-darwin22.2 !!!
138138```
139139
140140### Cross-compilation example
@@ -153,7 +153,7 @@ compile:
153153 @docker run --rm -it \
154154 -v $( PWD) :/drone/src \
155155 -w /drone/src \
156- joseluisq/rust-linux-darwin-builder:1.69 .0 \
156+ joseluisq/rust-linux-darwin-builder:1.70 .0 \
157157 make cross-compile
158158.PHONY: compile
159159
@@ -178,13 +178,13 @@ Just run the makefile `compile` target, then you will see two release binaries `
178178make compile
179179# 1. Cross compiling example...
180180
181- # rustc 1.69 .0 (84c898d65 2023-04-16 )
181+ # rustc 1.70 .0 (90c541806 2023-05-31 )
182182# binary: rustc
183- # commit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc
184- # commit-date: 2023-04-16
183+ # commit-hash: 90c541806f23a127002de5b4038be731ba1458ca
184+ # commit-date: 2023-05-31
185185# host: aarch64-apple-darwin
186- # release: 1.69 .0
187- # LLVM version: 15 .0.7
186+ # release: 1.70 .0
187+ # LLVM version: 16 .0.2
188188
189189# 2. Compiling application (linux-musl x86_64)...
190190# Finished release [optimized] target(s) in 0.01s
0 commit comments