示例工程 ch10-ffi

ch10-ffi/native/rust/Cargo.toml

toml · 0.2 KB

[package]
name = "add_rust"
version = "0.1.0"
edition = "2021"
 
[lib]
# cdylib = 输出 C ABI 动态库(.so/.dylib/.dll),Dart 只认这个
crate-type = ["cdylib"]
 
[profile.release]
lto = true