Re: [PATCH v2 2/5] docs/zh_CN: Add rust/quick-start Chinese translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 18 Oct 2022 21:04:22 +0800
Yanteng Si <siyanteng@xxxxxxxxxxx> wrote:

> +这会触发与Kconfig用来确定是否应该启用 ``RUST_IS_AVAILABLE`` 相同的逻辑;不过它也
> +会列出未满足的条件。

Would "不过,如果Kconfig认为不该启用,它会列出未满足的条件。" be better?

> +折腾
> +----
> +
> +要想深入了解,请看 ``samples/rust/`` 下的样例源代码、 ``rust/`` 下的Rust支持代码和
> +``Kernel hacking`` 下的 ``Rust hacking`` 菜单。
> +
> +如果使用的是GDB/Binutils,而Rust符号没有被拆分,原因是工具链还不支持Rust的新v0拆分方案。
> +有几个办法可以解决:

I am not sure how to translate mangle/demangling in Chinese, but "拆分"
definitely sounds awkward. 

> +
> +  - 安装一个较新的版本(GDB >= 10.2, Binutils >= 2.36)。
> +
> +  - 一些版本的GDB(例如vanilla GDB 10.1)能够使用嵌入在调试信息(``CONFIG_DEBUG_INFO``)
> +    中的预先还原函数的名字。

Demangle has been translated to "还原" here while it's "拆分" above,
which is inconsistent.

Best,
Gary





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux