diff --git a/Cargo.toml b/Cargo.toml index fbf560b85..ca0fb3150 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ version = "0.3.3" keywords = ["incremental", "parsing", "lisp"] categories = ["parsing", "text-editors"] repository = "https://github.com/theHamsta/tree-sitter-commonlisp" -edition = "2018" +edition = "2024" authors = ["Stephan Seitz"] license = "MIT" diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index a0895e5fc..24e0d8496 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -17,7 +17,7 @@ use tree_sitter_language::LanguageFn; -extern "C" { +unsafe extern "C" { fn tree_sitter_commonlisp() -> *const (); }