Skip to content

Commit

Permalink
day 24: use git z3
Browse files Browse the repository at this point in the history
checkout is a bit long (no sparse, see
rust-lang/cargo#11165 ), but it is faster than
fully building z3.

Latest version supports bindgen's pkg-config and builds on Fedora.
  • Loading branch information
anisse committed Dec 25, 2023
1 parent d84db79 commit 4dbee0b
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 26 deletions.
119 changes: 94 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ edition = "2021"

[dependencies]
itertools = "0.12.0"
z3 = { version = "0.12.1", features = ["static-link-z3"] }# cannot find z3.h in fedora
z3 = { git = "https://github.com/prove-rs/z3.rs/", rev = "50331a4" }
#z3 = { version = "0.12.1", features = ["static-link-z3"] }# cannot find z3.h in fedora
#z3 = "0.12.1"

[features]
Expand Down

0 comments on commit 4dbee0b

Please sign in to comment.