Skip to content

Commit

Permalink
Add cosmwasm_1_4 export
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jul 26, 2023
1 parent 9e450f6 commit ff75ca0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/std/src/exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ extern "C" fn requires_cosmwasm_1_2() -> () {}
#[no_mangle]
extern "C" fn requires_cosmwasm_1_3() -> () {}

#[cfg(feature = "cosmwasm_1_4")]
#[no_mangle]
extern "C" fn requires_cosmwasm_1_4() -> () {}

/// interface_version_* exports mark which Wasm VM interface level this contract is compiled for.
/// They can be checked by cosmwasm_vm.
/// Update this whenever the Wasm VM interface breaks.
Expand Down

0 comments on commit ff75ca0

Please sign in to comment.