Is it possible to call a function from static library that built in Rust using C?

前端 未结 0 1998
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 14:05

A function from Rust that built as static library called in C

// Rust
fn message() -> String

// C
int main() {
    message()
} 
相关标签:
回答
  • 消灭零回复
提交回复
热议问题