Skip to content

Commit 54ec247

Browse files
authored
Merge pull request #2311 from CosmWasm/co/revert-2289
Revert reference-types support
2 parents 83c338d + f04587a commit 54ec247

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.circleci/config.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ workflows:
9595
matrix:
9696
parameters:
9797
# Run with MSRV and some modern stable Rust
98-
rust-version: ["1.74.0", "1.82.0"]
98+
rust-version: ["1.74.0", "1.78.0"]
9999
- benchmarking:
100100
requires:
101101
- package_vm
@@ -655,8 +655,7 @@ jobs:
655655

656656
contract_hackatom:
657657
docker:
658-
# We compile this contract with the upper bound to detect issues with new Rust versions early
659-
- image: rust:1.82
658+
- image: rust:1.74
660659
environment:
661660
RUST_BACKTRACE: 1
662661
working_directory: ~/cosmwasm/contracts/hackatom
@@ -668,7 +667,7 @@ jobs:
668667
command: rustc --version; cargo --version; rustup --version
669668
- restore_cache:
670669
keys:
671-
- cargocache-v2-contract_hackatom-rust:1.82-{{ checksum "Cargo.lock" }}
670+
- cargocache-v2-contract_hackatom-rust:1.74-{{ checksum "Cargo.lock" }}
672671
- check_contract:
673672
min_version: "2.2"
674673
- save_cache:
@@ -680,7 +679,7 @@ jobs:
680679
- target/wasm32-unknown-unknown/release/.fingerprint
681680
- target/wasm32-unknown-unknown/release/build
682681
- target/wasm32-unknown-unknown/release/deps
683-
key: cargocache-v2-contract_hackatom-rust:1.82-{{ checksum "Cargo.lock" }}
682+
key: cargocache-v2-contract_hackatom-rust:1.74-{{ checksum "Cargo.lock" }}
684683

685684
contract_ibc_callbacks:
686685
docker:
@@ -1143,7 +1142,7 @@ jobs:
11431142

11441143
coverage:
11451144
docker:
1146-
- image: rust:1.82.0-alpine3.19
1145+
- image: rust:1.78.0-alpine3.19
11471146
environment:
11481147
# Limit the number of parallel jobs to avoid OOM crashes during doc testing
11491148
RUST_TEST_THREADS: 8

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,12 @@ and this project adheres to
2626
- cosmwasm-vm: Export a new `migrate_with_info` function ([#2212])
2727
- cosmwasm-derive: Add support for migrate method with
2828
`migrate_info: MigrateInfo` argument. ([#2212])
29-
- cosmwasm-vm: Enable support for reference-types proposal, required since Rust
30-
1.82 ([#2288])
3129
- cosmwasm-vm: Add `Cache::store_code`
3230

3331
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
3432
[#2196]: https://github.com/CosmWasm/cosmwasm/pull/2196
3533
[#2220]: https://github.com/CosmWasm/cosmwasm/pull/2220
3634
[#2212]: https://github.com/CosmWasm/cosmwasm/pull/2212
37-
[#2288]: https://github.com/CosmWasm/cosmwasm/pull/2288
3835

3936
### Changed
4037

packages/vm/src/parsed_wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl<'a> ParsedWasm<'a> {
7979
multi_value: true,
8080
floats: true,
8181

82-
reference_types: true,
82+
reference_types: false,
8383
bulk_memory: false,
8484
simd: false,
8585
relaxed_simd: false,

packages/vm/src/wasm_backend/gatekeeper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Default for Gatekeeper {
5959
Self::new(GatekeeperConfig {
6060
allow_floats: true,
6161
allow_feature_bulk_memory_operations: false,
62-
allow_feature_reference_types: true,
62+
allow_feature_reference_types: false,
6363
allow_feature_simd: false,
6464
allow_feature_exception_handling: false,
6565
allow_feature_threads: false,

0 commit comments

Comments
 (0)