From 739dd4e9217301dd73e0295aa5079988adfcc991 Mon Sep 17 00:00:00 2001 From: Sergey Marin Date: Thu, 29 Oct 2026 22:58:10 +0200 Subject: [PATCH] feat!: plugin ABI 3 (bddkit/bddkit#173) --- bddkit-plugin.json | 2 +- src/lib.rs | 2 +- tests/exports.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bddkit-plugin.json b/bddkit-plugin.json index 972c2f6..d9f8ab2 100644 --- a/bddkit-plugin.json +++ b/bddkit-plugin.json @@ -1 +1 @@ -{"abi": 2} +{"abi": 3} diff --git a/src/lib.rs b/src/lib.rs index 1532540..a18e4dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -68,7 +68,7 @@ pub fn manifest_json() -> String { #[unsafe(no_mangle)] pub extern "C" fn bddkit_abi_version() -> u32 { - 2 + 3 } #[unsafe(no_mangle)] diff --git a/tests/exports.rs b/tests/exports.rs index dac776f..456d83f 100644 --- a/tests/exports.rs +++ b/tests/exports.rs @@ -99,7 +99,7 @@ fn init(config: Value) -> u64 { #[test] fn the_manifest_and_the_step_list_parse() { - assert_eq!(bddkit_abi_version(), 2); + assert_eq!(bddkit_abi_version(), 3); assert_eq!(call(bddkit_manifest())["name"], "exec"); let steps = call(bddkit_list_steps()); assert!(