04sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextEnglish}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget /rust/indexmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/zh_TW/rust/indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/it_IT/rust/indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ja_JP/rust/indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ko_KR/rust/indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/sp_SP/rust/indexmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageChinese (Simplified)uh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhK/var/lib/git/docbuild/linux/Documentation/translations/zh_CN/rust/index.rsthKubhnote)}(hX{此文件的目的是为让中文读者更容易阅读和理解,而不是作为一个分支。 因此, 如果您对此文件有任何意见或更新,请先尝试更新原始英文文件。 如果您发现本文档与原始文件有任何不同或者有翻译问题,请发建议或者补丁给 该文件的译者,或者请求中文文档维护者和审阅者的帮助。h]h paragraph)}(hX{此文件的目的是为让中文读者更容易阅读和理解,而不是作为一个分支。 因此, 如果您对此文件有任何意见或更新,请先尝试更新原始英文文件。 如果您发现本文档与原始文件有任何不同或者有翻译问题,请发建议或者补丁给 该文件的译者,或者请求中文文档维护者和审阅者的帮助。h]hX{此文件的目的是为让中文读者更容易阅读和理解,而不是作为一个分支。 因此, 如果您对此文件有任何意见或更新,请先尝试更新原始英文文件。 如果您发现本文档与原始文件有任何不同或者有翻译问题,请发建议或者补丁给 该文件的译者,或者请求中文文档维护者和审阅者的帮助。}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh5Documentation/translations/zh_CN/disclaimer-zh_CN.rsthKhhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh field_list)}(hhh](hfield)}(hhh](h field_name)}(hOriginalh]hOriginal}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhKubh field_body)}(hDocumentation/rust/index.rst h]h)}(hDocumentation/rust/index.rsth]hDocumentation/rust/index.rst}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h翻译h]h翻译}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhKubh)}(h-司延腾 Yanteng Si h]h)}(h,司延腾 Yanteng Si h](h司延腾 Yanteng Si <}(hj hhhNhNubh reference)}(hsiyanteng@loongson.cnh]hsiyanteng@loongson.cn}(hj*hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:siyanteng@loongson.cnuh1j(hj ubh>}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]h ]h"]h$]h&]uh1hhhhhhhhKubhsection)}(hhh](htitle)}(hRusth]hRust}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hjXhhhhhK ubh)}(hm与内核中的Rust有关的文档。若要开始在内核中使用Rust,请阅读 quick-start.rst 指南。h]hm与内核中的Rust有关的文档。若要开始在内核中使用Rust,请阅读 quick-start.rst 指南。}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjXhhubjW)}(hhh](j\)}(h Rust 实验h]h Rust 实验}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hjyhhhhhKubh)}(hRust 支持在 v6.1 版本中合并到主线,以帮助确定 Rust 作为一种语言是否适合内核, 即是否值得进行权衡。h]hRust 支持在 v6.1 版本中合并到主线,以帮助确定 Rust 作为一种语言是否适合内核, 即是否值得进行权衡。}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjyhhubh)}(h目前,Rust 支持主要面向对 Rust 支持感兴趣的内核开发人员和维护者, 以便他们可以开始处理抽象和驱动程序,并帮助开发基础设施和工具。h]h目前,Rust 支持主要面向对 Rust 支持感兴趣的内核开发人员和维护者, 以便他们可以开始处理抽象和驱动程序,并帮助开发基础设施和工具。}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjyhhubh)}(h如果您是终端用户,请注意,目前没有适合或旨在生产使用的内置驱动程序或模块, 并且 Rust 支持仍处于开发/实验阶段,尤其是对于特定内核配置。h]h如果您是终端用户,请注意,目前没有适合或旨在生产使用的内置驱动程序或模块, 并且 Rust 支持仍处于开发/实验阶段,尤其是对于特定内核配置。}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjyhhubeh}(h]id1ah ]h"] rust 实验ah$]h&]uh1jVhjXhhhhhKubjW)}(hhh](j\)}(h 代码文档h]h 代码文档}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hjhhhhhKubh)}(ho给定一个内核配置,内核可能会生成 Rust 代码文档,即由 ``rustdoc`` 工具呈现的 HTML。h](hL给定一个内核配置,内核可能会生成 Rust 代码文档,即由 }(hjhhhNhNubhliteral)}(h ``rustdoc``h]hrustdoc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 工具呈现的 HTML。}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubhonly)}(hhh]h)}(hP该内核文档使用 `Rust 代码文档 `_ 构建。h](h该内核文档使用 }(hjhhhNhNubj))}(h0`Rust 代码文档 `_h]hRust 代码文档}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameRust 代码文档refurirustdoc/kernel/index.htmluh1j(hjubhtarget)}(h h]h}(h]id3ah ]h"]rust 代码文档ah$]h&]refurij uh1j referencedKhjubh 构建。}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjhhubah}(h]h ]h"]h$]h&]exprrustdoc and htmluh1jhhhhhKhjubj)}(hhh]h)}(h3该内核文档不使用 Rust 代码文档构建。h]h3该内核文档不使用 Rust 代码文档构建。}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hj0hhubah}(h]h ]h"]h$]h&]j.not rustdoc and htmluh1jhhhhhK#hjubh)}(h:预生成版本提供在:https://rust.docs.kernel.org。h](h预生成版本提供在:}(hjHhhhNhNubj))}(hhttps://rust.docs.kernel.orgh]hhttps://rust.docs.kernel.org}(hjPhhhNhNubah}(h]h ]h"]h$]h&]refurijRuh1j(hjHubh。}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK'hjhhubh)}(hb请参阅 :ref:`代码文档 ` 部分以获取更多详细信息。h](h 请参阅 }(hjihhhNhNubh)}(h3:ref:`代码文档 `h]hinline)}(hjsh]h 代码文档}(hjwhhhNhNubah}(h]h ](xrefstdstd-refeh"]h$]h&]uh1juhjqubah}(h]h ]h"]h$]h&]refdoctranslations/zh_CN/rust/index refdomainjreftyperef refexplicitrefwarn reftargetrust_code_documentation_zh_cnuh1hhhhK)hjiubh% 部分以获取更多详细信息。}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubhcompound)}(hhh]htoctree)}(hhh]h}(h]h ]h"]h$]h&]hjentries](N#translations/zh_CN/rust/quick-startN+translations/zh_CN/rust/general-informationN)translations/zh_CN/rust/coding-guidelinesN$translations/zh_CN/rust/arch-supportNtranslations/zh_CN/rust/testinge includefiles](jjjjjemaxdepthKcaptionNglobhidden includehiddennumberedK titlesonly rawentries]uh1jhhhK+hjubah}(h]h ]toctree-wrapperah"]h$]h&]uh1jhjhhhhhNubh)}(hU你还可以在 :doc:`../../../process/kernel-docs` 中找到 Rust 的学习材料。h](h你还可以在 }(hjhhhNhNubh)}(h#:doc:`../../../process/kernel-docs`h]jv)}(hjh]h../../../process/kernel-docs}(hjhhhNhNubah}(h]h ](jstdstd-doceh"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypedoc refexplicitrefwarnj../../../process/kernel-docsuh1hhhhK4hjubh" 中找到 Rust 的学习材料。}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK4hjhhubeh}(h]id2ah ]h"] 代码文档ah$]h&]uh1jVhjXhhhhhKubeh}(h]rustah ]h"]rustah$]h&]uh1jVhhhhhhhK ubj)}(hhh]jW)}(hhh](j\)}(hIndicesh]hIndices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hjhhhhhK9ubh bullet_list)}(hhh]h list_item)}(h:ref:`genindex`h]h)}(hj-h]h)}(hj-h]jv)}(hj-h]hgenindex}(hj5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1juhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainj?reftyperef refexplicitrefwarnjgenindexuh1hhhhK;hj/ubah}(h]h ]h"]h$]h&]uh1hhhhK;hj+ubah}(h]h ]h"]h$]h&]uh1j)hj&hhhhhNubah}(h]h ]h"]h$]h&]bullet*uh1j$hhhK;hjhhubeh}(h]indicesah ]h"]indicesah$]h&]uh1jVhjhhhhhK9ubah}(h]h ]h"]h$]h&]j.subproject and htmluh1jhhhhhK6hhubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(j[N generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j j jjjjjjjjjgu nametypes}(j jjjjjuh}(j jXjjyjjjjjgju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jKsRparse_messages]transform_messages] transformerN include_log]/Documentation/translations/zh_CN/rust/index.rst(NNNNta decorationNhhub.