подскажите как из Python вызывать Rust функцию которая возвращает строку, код:
Python
from ctypes import *
import ctypes
lib = cdll.LoadLibrary("embed/target/release/embed.dll")
lib.print_text("Hello, from python")
Rust
#[no_mangle]
pub extern fn print_text2(x: String) {
println!("{}", x);
}