From 896ef03e4b2f6376b64218ef24c0924ec65594e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=8D=9A=E6=96=87?= Date: Sun, 14 Apr 2024 00:40:54 +0800 Subject: [PATCH] fix: update inkwell features --- Cargo.lock | 17 ++--------------- lib/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6816deb..b52c379 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -913,7 +913,7 @@ dependencies = [ "either", "inkwell_internals", "libc", - "llvm-sys 160.1.4", + "llvm-sys", "once_cell", "thiserror", ] @@ -1023,19 +1023,6 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" -[[package]] -name = "llvm-sys" -version = "160.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f9888529887dfda6c59e20f0e0727b17e826cd54ae1ddf0d4c83850fa23b69" -dependencies = [ - "cc", - "lazy_static", - "libc", - "regex", - "semver", -] - [[package]] name = "llvm-sys" version = "170.0.1" @@ -1682,7 +1669,7 @@ dependencies = [ "inkwell", "lalrpop", "lalrpop-util", - "llvm-sys 170.0.1", + "llvm-sys", "log", "once_cell", "regex", diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 32adfa3..34bcdfa 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -27,7 +27,7 @@ log = "*" indexmap = "*" byteorder = "*" uuid = { version = "*", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] } -inkwell = { version = "*", optional = true, features = ["llvm16-0-no-llvm-linking"] } +inkwell = { version = "*", optional = true, features = ["llvm17-0-no-llvm-linking"] } [build-dependencies] cbindgen = "*"