Skip to content

Commit a3d7d8a

Browse files
Add missing libraries, pin version of backtrace
Build now works with rust 1.63
1 parent 37f9596 commit a3d7d8a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/circt-sys/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ fn main() {
9090
"LLVMDemangle",
9191
"LLVMRemarks",
9292
"LLVMSupport",
93+
"LLVMTargetParser",
9394
"MLIRAnalysis",
9495
"MLIRArithDialect",
9596
"MLIRArithValueBoundsOpInterfaceImpl",
@@ -112,6 +113,9 @@ fn main() {
112113
"MLIRSupport",
113114
"MLIRTransformUtils",
114115
"MLIRTransforms",
116+
"MLIRBytecodeWriter",
117+
"MLIRAsmParser",
118+
"MLIRBytecodeReader",
115119
];
116120
for name in &lib_names {
117121
println!("cargo:rustc-link-lib=static={}", name);

src/svlog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ log = "0.4"
2424
num = "0.3"
2525
bit-vec = "0.6.2"
2626
itertools = "0.10"
27-
backtrace = "0.3"
27+
backtrace = "=0.3.68"
2828
bitflags = "1.2"
2929
once_cell = "1.3"

src/svlog/syntax/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ path = "lib.rs"
1515
moore-common = { path = "../../common", version = "0.14.0" }
1616
moore-derive = { path = "../../derive", version = "0.14.0" }
1717
log = "0.4"
18-
backtrace = "0.3"
18+
backtrace = "=0.3.68"
1919
once_cell = "1.3"

0 commit comments

Comments
 (0)