mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-16 21:49:50 +02:00
zh-TW: Translate android/build-rules.md (#824)
* zh-TW: Translate android/build-rules.md * Apply suggestions from code review Co-authored-by: Victor Hsieh <victorhsieh@gmail.com> --------- Co-authored-by: Martin Geisler <martin@geisler.net> Co-authored-by: Victor Hsieh <victorhsieh@gmail.com>
This commit is contained in:
parent
f38b8a1972
commit
52284c7d13
28
po/zh-TW.po
28
po/zh-TW.po
@ -608,7 +608,7 @@ msgstr ""
|
||||
|
||||
#: src/SUMMARY.md:187
|
||||
msgid "Build Rules"
|
||||
msgstr ""
|
||||
msgstr "建構規則"
|
||||
|
||||
#: src/SUMMARY.md:188
|
||||
msgid "Binary"
|
||||
@ -11281,11 +11281,11 @@ msgstr ""
|
||||
|
||||
#: src/android/build-rules.md:1
|
||||
msgid "# Build Rules"
|
||||
msgstr ""
|
||||
msgstr "# 建構規則"
|
||||
|
||||
#: src/android/build-rules.md:3
|
||||
msgid "The Android build system (Soong) supports Rust via a number of modules:"
|
||||
msgstr ""
|
||||
msgstr "Android 的建構系統 (Soong) 透過以下模組支援 Rust:"
|
||||
|
||||
#: src/android/build-rules.md:5
|
||||
msgid ""
|
||||
@ -11311,10 +11311,30 @@ msgid ""
|
||||
"| `rust_bindgen` | Generates source and produces a Rust library "
|
||||
"containing Rust bindings to C libraries. |"
|
||||
msgstr ""
|
||||
"| 模組型態 | "
|
||||
"敘述 "
|
||||
"|\n"
|
||||
"|-------------------|----------------------------------------------------------------------------------------------------|\n"
|
||||
"| `rust_binary` | 生成一個 Rust 執行檔。"
|
||||
"|\n"
|
||||
"| `rust_library` | 生成一個 Rust 函式庫,及其對應的 `rlib` 和 `dylib` "
|
||||
"變體。 |\n"
|
||||
"| `rust_ffi` | 生成一個可被 `cc` 模組使用的 Rust C 函式庫,及其對應的"
|
||||
"靜態和共享變體。 |\n"
|
||||
"| `rust_proc_macro` | 生成一個 `proc-macro` Rust 函式庫,類似於編譯器 "
|
||||
"擴充。 |\n"
|
||||
"| `rust_test` | 使用Rust自動化測試框架,生成一個 Rust "
|
||||
"測試檔。 |\n"
|
||||
"| `rust_fuzz` | 生成一個使用 `libfuzzer` 的 Rust 模糊測試"
|
||||
"執行檔。 |\n"
|
||||
"| `rust_protobuf` | 生成對應 protobuf 介面的 Rust 原始碼及函式庫。 "
|
||||
" |\n"
|
||||
"| `rust_bindgen` | 生成用於連接 C 函式庫的 Rust "
|
||||
"原始碼及函式庫。 |"
|
||||
|
||||
#: src/android/build-rules.md:16
|
||||
msgid "We will look at `rust_binary` and `rust_library` next."
|
||||
msgstr ""
|
||||
msgstr "接下來我們會探討 `rust_binary` 及 `rust_library`。"
|
||||
|
||||
#: src/android/build-rules/binary.md:1
|
||||
msgid "# Rust Binaries"
|
||||
|
Loading…
x
Reference in New Issue
Block a user