cargo new whatlang-ffi cd whatlang-ffi mkdir examples. Add this to Cargo.toml : [lib] name = "whatlang" crate-type = ["staticlib", "cdylib"].
確定! 回上一頁