Skip to content

Commit 6c0ff99

Browse files
committed
simplicity and simplicity-sys: bump major versions
In another PR I add a regression test against the released 0.3.0 version of rust-simplicity. It breaks some tooling to have two 0.3.0s in play at once -- one from this repo and one from crates.io. Take this opportunity to bump versions to 0.4.0 to avoid this conflict. Once we get this into a reasonable bug-free state we should do another release.
1 parent 7c77a21 commit 6c0ff99

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "simplicity-lang"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Andrew Poelstra <[email protected]>"]
55
license = "CC0-1.0"
66
homepage = "https://github.com/BlockstreamResearch/rust-simplicity/"

simplicity-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "simplicity-sys"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
license = "CC0-1.0"
55
homepage = "https://github.com/BlockstreamResearch/rust-simplicity/"
66
repository = "https://github.com/BlockstreamResearch/rust-simplicity/"

simplicity-sys/depend/simplicity/simplicity_alloc.h

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
/* Declare Rust functions so the compiler can handle them.
77
* The linker will include the functions from Rust.
88
*/
9-
extern void* rust_0_3_malloc(size_t size);
10-
extern void* rust_0_3_calloc(size_t num, size_t size);
11-
extern void rust_0_3_free(void* ptr);
9+
extern void* rust_0_4_malloc(size_t size);
10+
extern void* rust_0_4_calloc(size_t num, size_t size);
11+
extern void rust_0_4_free(void* ptr);
1212

13-
/* Allocate with rust_0_3_malloc. */
14-
#define simplicity_malloc rust_0_3_malloc
13+
/* Allocate with rust_0_4_malloc. */
14+
#define simplicity_malloc rust_0_4_malloc
1515

16-
/* Allocate+zero initialize with rust_0_3_calloc. */
17-
#define simplicity_calloc rust_0_3_calloc
16+
/* Allocate+zero initialize with rust_0_4_calloc. */
17+
#define simplicity_calloc rust_0_4_calloc
1818

19-
/* Deallocate with rust_0_3_free. */
20-
#define simplicity_free rust_0_3_free
19+
/* Deallocate with rust_0_4_free. */
20+
#define simplicity_free rust_0_4_free
2121

2222
#endif /* SIMPLICITY_SIMPLICITY_ALLOC_H */

0 commit comments

Comments
 (0)