From a92e3612e0c7c43a7aea4e48ccc21d699548e96f Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 15 Mar 2025 18:36:36 +0100 Subject: [PATCH] feat: migrate to Rust 2024 edition --- Cargo.toml | 2 +- bindings/rust/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 (); }