Skip to content

Commit

Permalink
Migrate to GitQL 0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Jan 31, 2025
1 parent 82ee1df commit a2818ef
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ categories = ["command-line-utilities"]
exclude = [".github/**", "docs/**", "media/**", "scripts/**"]

[dependencies]
gitql-core = "0.11.0"
gitql-std = "0.11.0"
gitql-ast = "0.31.0"
gitql-parser = "0.33.0"
gitql-engine = "0.34.0"
gitql-cli = "0.34.0"
gitql-core = "0.13.0"
gitql-std = "0.13.0"
gitql-ast = "0.32.0"
gitql-parser = "0.35.0"
gitql-engine = "0.36.0"
gitql-cli = "0.36.0"

inkwell = { version = "0.5.0", features = ["llvm18-0"] }

Expand Down
2 changes: 2 additions & 0 deletions src/functions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ use crate::matchers::InstMatcher;

pub(crate) mod matchers;

#[inline(always)]
pub fn llvm_ir_functions() -> &'static HashMap<&'static str, StandardFunction> {
static HASHMAP: OnceLock<HashMap<&'static str, StandardFunction>> = OnceLock::new();
HASHMAP.get_or_init(|| {
Expand All @@ -60,6 +61,7 @@ pub fn llvm_ir_functions() -> &'static HashMap<&'static str, StandardFunction> {
})
}

#[inline(always)]
pub fn llvm_ir_function_signatures() -> HashMap<&'static str, Signature> {
let mut map = standard_function_signatures().to_owned();
register_type_matchers_function_signatures(&mut map);
Expand Down

0 comments on commit a2818ef

Please sign in to comment.