Comprehensive Rust(繁体中文) 202406
透過以下模組支援 Rust: 模組型態 敘述 rust_binary 生成一個 Rust 執行檔。 rust_library 生成一個 Rust 函式庫,及其對應 的 rlib 和 dylib 變體。 rust_ffi 生成一個可被 cc 模組使用的 Rust C 函式庫,及其對應的靜態 和共享變體。 rust_proc_macro 生成一個 proc-macro Rust 函 式庫,類似於編譯器 擴充。 擴充。 rust_test 使用 Rust 自動化測試框架,生成 一個 Rust 測試檔。 rust_fuzz 生成一個使用 libfuzzer 的 Rust 模糊測試執行檔。 rust_protobuf 生成對應 protobuf 介面的 Rust 原始碼及函式庫。 rust_bindgen 生成用於連接 C 函式庫的 Rust 原始碼及函式庫。 接下來我們會探討 rust_binary 及 rust_library。0 码力 | 356 页 | 1.41 MB | 1 年前3
共 1 条
- 1