@@ -38,7 +38,7 @@ By default the working directory is `/root/src`.
38
38
docker run --rm \
39
39
--volume " ${PWD} /sample" :/root/src \
40
40
--workdir /root/src \
41
- joseluisq/rust-linux-darwin-builder:1.58.1 \
41
+ joseluisq/rust-linux-darwin-builder:1.59.0 \
42
42
sh -c " cargo build --release"
43
43
```
44
44
@@ -50,7 +50,7 @@ docker run --rm \
50
50
docker run --rm \
51
51
--volume " ${PWD} /sample" :/root/src \
52
52
--workdir /root/src \
53
- joseluisq/rust-linux-darwin-builder:1.58.1 \
53
+ joseluisq/rust-linux-darwin-builder:1.59.0 \
54
54
sh -c " cargo build --release --target x86_64-apple-darwin"
55
55
```
56
56
@@ -63,7 +63,7 @@ It's known that the [`CARGO_HOME`](https://doc.rust-lang.org/cargo/guide/cargo-h
63
63
You can also use the image as a base for your own Dockerfile:
64
64
65
65
``` Dockerfile
66
- FROM joseluisq/rust-linux-darwin-builder:1.58.1
66
+ FROM joseluisq/rust-linux-darwin-builder:1.59.0
67
67
```
68
68
69
69
### OSXCross
@@ -106,7 +106,7 @@ compile:
106
106
@docker run --rm -it \
107
107
-v $( PWD) :/drone/src \
108
108
-w /drone/src \
109
- joseluisq/rust-linux-darwin-builder:1.58.1 \
109
+ joseluisq/rust-linux-darwin-builder:1.59.0 \
110
110
make cross-compile
111
111
.PHONY: compile
112
112
@@ -131,13 +131,13 @@ Just run the makefile `compile` target, then you will see two release binaries `
131
131
make compile
132
132
# 1. Cross compiling example...
133
133
134
- # rustc 1.58.1 (db9d1b20b 2022-01-20 )
134
+ # rustc 1.59.0 (9d1b2106e 2022-02-23 )
135
135
# binary: rustc
136
- # commit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b
137
- # commit-date: 2022-01-20
138
- # host: x86_64-unknown-linux-gnu
139
- # release: 1.58.1
140
- # LLVM version: 13.0.0
136
+ # commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
137
+ # commit-date: 2022-02-23
138
+ # host: x86_64-apple-darwin
139
+ # release: 1.59.0
140
+ # LLVM version: 13.0.
141
141
142
142
# 2. Compiling application (linux-musl x86_64)...
143
143
# Finished release [optimized] target(s) in 0.01s
0 commit comments