Skip to content

Commit 7170ab1

Browse files
authored
Merge pull request #512 from CosmWasm/builders-0018
Finalize builders 0018
2 parents 401557b + 6dd292e commit 7170ab1

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.circleci/config.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
docker:
140140
# The audit tool might use a more modern Rust version than the build jobs. See
141141
# "Tooling Rust compiler" in docs/COMPILER_VERSIONS.md
142-
- image: cimg/rust:1.70.0
142+
- image: cimg/rust:1.75.0
143143
steps:
144144
- checkout
145145
- run:
@@ -152,8 +152,8 @@ jobs:
152152
command: rustc --version; cargo --version; rustup --version
153153
- restore_cache:
154154
keys:
155-
- cargocache-v3-libwasmvm_audit-rust:1.70.0-{{ checksum "libwasmvm/Cargo.lock" }}
156-
- cargocache-v3-libwasmvm_audit-rust:1.70.0-
155+
- v3-libwasmvm_audit-rust:1.75.0-{{ checksum "libwasmvm/Cargo.lock" }}
156+
- v3-libwasmvm_audit-rust:1.75.0-
157157
- run:
158158
name: Install cargo-audit
159159
command: cargo install --debug cargo-audit --version 0.17.6
@@ -164,7 +164,7 @@ jobs:
164164
- save_cache:
165165
paths:
166166
- ~/.cargo/registry
167-
key: cargocache-v3-libwasmvm_audit-rust:1.70.0-{{ checksum "libwasmvm/Cargo.lock" }}
167+
key: v3-libwasmvm_audit-rust:1.75.0-{{ checksum "libwasmvm/Cargo.lock" }}
168168

169169
format-go:
170170
docker:
@@ -389,9 +389,8 @@ jobs:
389389
mkdir artifacts
390390
391391
# Static (from build)
392-
# TODO: Change this line to libwasmvm_muslc.x86_64.a when upgrading to builders 0018+
393-
cp ./internal/api/libwasmvm_muslc.a artifacts/libwasmvm_muslc.x86_64.a
394-
cp ./internal/api/libwasmvm_muslc.aarch64.a artifacts/libwasmvm_muslc.aarch64.a
392+
cp ./internal/api/libwasmvm_muslc.x86_64.a artifacts/
393+
cp ./internal/api/libwasmvm_muslc.aarch64.a artifacts/
395394
cp ./internal/api/libwasmvmstatic_darwin.a artifacts/
396395
397396
# Shared (from git)

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: all build build-rust build-go test
22

33
# Builds the Rust library libwasmvm
4-
BUILDERS_PREFIX := cosmwasm/go-ext-builder:0017
4+
BUILDERS_PREFIX := cosmwasm/go-ext-builder:0018
55
# Contains a full Go dev environment including CGO support in order to run Go tests on the built shared library
66
# This image is currently not published.
77
ALPINE_TESTER := cosmwasm/alpine-tester:local
@@ -77,8 +77,7 @@ release-build-alpine:
7777
rm -rf libwasmvm/target/x86_64-unknown-linux-musl/release
7878
# build the muslc *.a file
7979
docker run --rm -u $(USER_ID):$(USER_GROUP) -v $(shell pwd)/libwasmvm:/code $(BUILDERS_PREFIX)-alpine
80-
# TODO: Change this line to libwasmvm_muslc.x86_64.a when upgrading to builders 0018+
81-
cp libwasmvm/artifacts/libwasmvm_muslc.a internal/api
80+
cp libwasmvm/artifacts/libwasmvm_muslc.x86_64.a internal/api
8281
cp libwasmvm/artifacts/libwasmvm_muslc.aarch64.a internal/api
8382
make update-bindings
8483

builders/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Versioned by a simple counter that is not bound to a specific CosmWasm version
22
# See builders/README.md
3-
BUILDERS_PREFIX := cosmwasm/go-ext-builder:0017
3+
BUILDERS_PREFIX := cosmwasm/go-ext-builder:0018
44

55
.PHONY: docker-image-centos7
66
docker-image-centos7:

builders/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ versions of the builder images.
2121

2222
**Unreleased**
2323

24+
**Version 0018:**
25+
2426
- Remove Go dev environment from `cosmwasm/go-ext-builder:XXXX-alpine`
2527
- Write x86_64 muslc output in `libwasmvm_muslc.x86_64.a` instead of
2628
`libwasmvm_muslc.a`

docs/COMPILER_VERSIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ We currently use the following version:
6565
| ------------------------ | ------------ | --------------------------------- |
6666
| Production Rust compiler | 1.73.0 | Builders version 0017 |
6767
| Min Rust compiler | 1.70.0 | Supports builder versions >= 0017 |
68-
| Tooling Rust compiler | 1.70.0 | |
68+
| Tooling Rust compiler | 1.75.0 | |

0 commit comments

Comments
 (0)