我们首先使用正确的参数和返回类型,声明一个 extern 函数。然后可以编译并链接到Rust 库,通过使用 gcc --std=c11 -o c-example src/main.c -L target/debug/-lintegers ...
確定! 回上一頁