From a3d7d8a93f0068936dec84e43a7e57313f9e28ae Mon Sep 17 00:00:00 2001 From: Stefan Lippuner <3071885+stefanlippuner@users.noreply.github.com> Date: Sun, 3 Sep 2023 14:58:48 +0200 Subject: [PATCH] Add missing libraries, pin version of backtrace Build now works with rust 1.63 --- src/circt-sys/build.rs | 4 ++++ src/svlog/Cargo.toml | 2 +- src/svlog/syntax/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/circt-sys/build.rs b/src/circt-sys/build.rs index 1bb1f7d2c..1d6e045ad 100644 --- a/src/circt-sys/build.rs +++ b/src/circt-sys/build.rs @@ -90,6 +90,7 @@ fn main() { "LLVMDemangle", "LLVMRemarks", "LLVMSupport", + "LLVMTargetParser", "MLIRAnalysis", "MLIRArithDialect", "MLIRArithValueBoundsOpInterfaceImpl", @@ -112,6 +113,9 @@ fn main() { "MLIRSupport", "MLIRTransformUtils", "MLIRTransforms", + "MLIRBytecodeWriter", + "MLIRAsmParser", + "MLIRBytecodeReader", ]; for name in &lib_names { println!("cargo:rustc-link-lib=static={}", name); diff --git a/src/svlog/Cargo.toml b/src/svlog/Cargo.toml index b4475cfa4..1045d942a 100644 --- a/src/svlog/Cargo.toml +++ b/src/svlog/Cargo.toml @@ -24,6 +24,6 @@ log = "0.4" num = "0.3" bit-vec = "0.6.2" itertools = "0.10" -backtrace = "0.3" +backtrace = "=0.3.68" bitflags = "1.2" once_cell = "1.3" diff --git a/src/svlog/syntax/Cargo.toml b/src/svlog/syntax/Cargo.toml index 1b21ad74d..8d007e29b 100644 --- a/src/svlog/syntax/Cargo.toml +++ b/src/svlog/syntax/Cargo.toml @@ -15,5 +15,5 @@ path = "lib.rs" moore-common = { path = "../../common", version = "0.14.0" } moore-derive = { path = "../../derive", version = "0.14.0" } log = "0.4" -backtrace = "0.3" +backtrace = "=0.3.68" once_cell = "1.3"