From 3b02636e4196ab169e9c4f798e8bdc04020ec273 Mon Sep 17 00:00:00 2001 From: ByteOtter Date: Fri, 16 Aug 2024 14:56:47 +0200 Subject: [PATCH] Change library type of isototest to be cdylib Add build instruction to Cargo.toml to create a C-compatible dynamic library. Needed for perl language bindings. --- isototest/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/isototest/Cargo.toml b/isototest/Cargo.toml index b9d21d7..c0883fb 100644 --- a/isototest/Cargo.toml +++ b/isototest/Cargo.toml @@ -7,6 +7,10 @@ readme = "README.md" repository = "https://github.com/os-autoinst/isotest-ng/tree/main/isototest" license = "GPL-2.0" +[lib] +name = "isototest" +crate-type = ["cdylib"] + [dependencies] image = "0.25.2" log = "0.4.22"