From nobody Tue Nov 26 16:37:43 2024 Received: from zg8tmja2lje4os43os4xodqa.icoremail.net (zg8tmja2lje4os43os4xodqa.icoremail.net [206.189.79.184]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C0B31DD54A; Thu, 17 Oct 2024 12:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=206.189.79.184 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729167303; cv=none; b=n2b8uvA7F0lWY9Wk/eoKGG62R1obwnK8+P2ZVNSOVLUCwDfGffCuMBm7y1nFhvDVjLcJx3UXPNY84LDshC24trEqmI6OEr5lb7rYiqNqtxnZFvX41CEP5MapkngWNQdLHmHvtQRHY6xJH91+BY7mxghRC6kZauaR6k+BQD3MsTM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729167303; c=relaxed/simple; bh=KR6k2M9sJjNlxnNK+VdzSRJZKqP1DzeXSFhCkLSKWjc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=G558XZnUIYOLjz+Ukoskoh2RHbROupn47doCmGIUY5OnEOYGpq3kNTLByvRYNSNWogp+DccOoDVlZL0gVM/m9QqRS6+mmzy1ZAJXMoq9Efv5siaXYVMZpkdSDM9JdIKhfyLbWX2mu7P8krjN71Pjl17oSJRG3XtSUT0kXJwFYU0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hust.edu.cn; spf=pass smtp.mailfrom=hust.edu.cn; arc=none smtp.client-ip=206.189.79.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hust.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hust.edu.cn Received: from hust.edu.cn (unknown [172.16.0.50]) by app2 (Coremail) with SMTP id HwEQrACnrACY_xBnf_YVAQ--.14997S2; Thu, 17 Oct 2024 20:14:16 +0800 (CST) Received: from pride-PowerEdge-R740.. (unknown [222.20.126.129]) by gateway (Coremail) with SMTP id _____wAXAkGS_xBni3daAA--.37840S2; Thu, 17 Oct 2024 20:14:11 +0800 (CST) From: Dongliang Mu To: Alex Shi , Yanteng Si , Jonathan Corbet , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Dongliang Mu Cc: hust-os-kernel-patches@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH] docs/zh_CN: update the translation of process/programming-language.rst Date: Thu, 17 Oct 2024 20:13:59 +0800 Message-ID: <20241017121407.3431231-1-dzm91@hust.edu.cn> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: HwEQrACnrACY_xBnf_YVAQ--.14997S2 Authentication-Results: app2; spf=neutral smtp.mail=dzm91@hust.edu.cn; X-Coremail-Antispam: 1UD129KBjvJXoW3WrW3Gw18WF1rCF4fZr43ZFb_yoW7tr1UpF W7Kr9rKa18J3WxGrZ7Kr17Zr1FkFZ5Ka48trWUt3WYyF40ya9IqFyxKrsxX342vryxCFWD Zw1fuFW8X3y3AFDanT9S1TB71UUUUbJqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUHmb7Iv0xC_Zr1lb4IE77IF4wAFc2x0x2IEx4CE42xK8VAvwI8I cIk0rVWrJVCq3wA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjx v20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK 6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1ln4kS14v26r 1q6r43M2vYz4IE04k24VAvwVAKI4IrM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI 12xvs2x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj64x0Y40En7xvr7AKxV W8Jr0_Cr1UMcIj6x8ErcxFaVAv8VW8uFyUJr1UMcIj6xkF7I0En7xvr7AKxVW8Jr0_Cr1U McvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262kKe7AKxVW8ZVWrXw CF04k20xvY0x0EwIxGrwCF04k20xvE74AGY7Cv6cx26r4fZr1UJr1l4I8I3I0E4IkC6x0Y z7v_Jr0_Gr1l4IxYO2xFxVAFwI0_GFv_Wrylx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x 8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r4a6rW5MIIYY7kG6IIYr7AKxVW8JVW5 JwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r4j6ryUMIIF0xvE2Ix0cI8IcVCY1x 0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_ Gr0_Cr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU5 2eHPUUUUU== X-CM-SenderInfo: asqsiiirqrkko6kx23oohg3hdfq/ Update to commit 0b02076f9953 ("docs: programming-language: add Rust programming language section") scripts/checktranstatus.py reports: Documentation/translations/zh_CN/process/programming-language.rst commit 0b02076f9953 ("docs: programming-language: add Rust programming language section") commit 38484a1d0c50 ("docs: programming-language: remove mention of the Intel compiler") 2 commits needs resolving in total Signed-off-by: Dongliang Mu --- .../zh_CN/process/programming-language.rst | 78 +++++++------------ 1 file changed, 30 insertions(+), 48 deletions(-) diff --git a/Documentation/translations/zh_CN/process/programming-language.= rst b/Documentation/translations/zh_CN/process/programming-language.rst index fabdc338dbfb..55f132a4b212 100644 --- a/Documentation/translations/zh_CN/process/programming-language.rst +++ b/Documentation/translations/zh_CN/process/programming-language.rst @@ -3,25 +3,22 @@ :Original: :ref:`Documentation/process/programming-language.rst ` :Translator: Alex Shi =20 -.. _cn_programming_language: - =E7=A8=8B=E5=BA=8F=E8=AE=BE=E8=AE=A1=E8=AF=AD=E8=A8=80 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -=E5=86=85=E6=A0=B8=E6=98=AF=E7=94=A8C=E8=AF=AD=E8=A8=80 :ref:`c-language <= cn_c-language>` =E7=BC=96=E5=86=99=E7=9A=84=E3=80=82=E6=9B=B4=E5=87=86=E7= =A1=AE=E5=9C=B0=E8=AF=B4=EF=BC=8C=E5=86=85=E6=A0=B8=E9=80=9A=E5=B8=B8=E6=98= =AF=E7=94=A8 :ref:`gcc ` -=E5=9C=A8 ``-std=3Dgnu11`` :ref:`gcc-c-dialect-options ` =E4=B8=8B=E7=BC=96=E8=AF=91=E7=9A=84=EF=BC=9AISO C11=E7=9A=84 GNU = =E6=96=B9=E8=A8=80 - -=E8=BF=99=E7=A7=8D=E6=96=B9=E8=A8=80=E5=8C=85=E5=90=AB=E5=AF=B9=E8=AF=AD= =E8=A8=80 :ref:`gnu-extensions ` =E7=9A=84=E8=AE=B8=E5= =A4=9A=E6=89=A9=E5=B1=95=EF=BC=8C=E5=BD=93=E7=84=B6=EF=BC=8C=E5=AE=83=E4=BB= =AC=E8=AE=B8=E5=A4=9A=E9=83=BD=E5=9C=A8=E5=86=85=E6=A0=B8=E4=B8=AD=E4=BD=BF= =E7=94=A8=E3=80=82 +=E5=86=85=E6=A0=B8=E6=98=AF=E7=94=A8 C =E7=BC=96=E7=A8=8B=E8=AF=AD=E8=A8= =80=E7=BC=96=E5=86=99=E7=9A=84 [zh_cn_c-language]_=E3=80=82=E6=9B=B4=E5=87= =86=E7=A1=AE=E5=9C=B0=E8=AF=B4=EF=BC=8C=E5=86=85=E6=A0=B8=E9=80=9A=E5=B8=B8= =E4=BD=BF=E7=94=A8 ``gcc`` [gcc]_ =E7=BC=96=E8=AF=91=EF=BC=8C +=E5=B9=B6=E4=B8=94=E4=BD=BF=E7=94=A8 ``-std=3Dgnu11`` [zh_cn_gcc-c-dialect= -options]_=EF=BC=9A=E8=BF=99=E6=98=AF ISO C11 =E7=9A=84 GNU =E6=96=B9=E8=A8= =80=E3=80=82 +``clang`` [zh_cn_clang]_ =E4=B9=9F=E5=BE=97=E5=88=B0=E4=BA=86=E6=94=AF=E6= =8C=81=EF=BC=8C=E8=AF=A6=E8=A7=81=E6=96=87=E6=A1=A3=EF=BC=9A +:ref:`=E4=BD=BF=E7=94=A8 Clang/LLVM =E6=9E=84=E5=BB=BA Linux = `=E3=80=82 =20 -=E5=AF=B9=E4=BA=8E=E4=B8=80=E4=BA=9B=E4=BD=93=E7=B3=BB=E7=BB=93=E6=9E=84= =EF=BC=8C=E6=9C=89=E4=B8=80=E4=BA=9B=E4=BD=BF=E7=94=A8 :ref:`clang ` =E5=92=8C :ref:`icc ` =E7=BC=96=E8=AF=91=E5=86=85=E6=A0=B8 -=E7=9A=84=E6=94=AF=E6=8C=81=EF=BC=8C=E5=B0=BD=E7=AE=A1=E5=9C=A8=E7=BC=96= =E5=86=99=E6=AD=A4=E6=96=87=E6=A1=A3=E6=97=B6=E8=BF=98=E6=B2=A1=E6=9C=89=E5= =AE=8C=E6=88=90=EF=BC=8C=E4=BB=8D=E9=9C=80=E8=A6=81=E7=AC=AC=E4=B8=89=E6=96= =B9=E8=A1=A5=E4=B8=81=E3=80=82 +=E8=BF=99=E7=A7=8D=E6=96=B9=E8=A8=80=E5=8C=85=E5=90=AB=E5=AF=B9 C =E8=AF= =AD=E8=A8=80=E7=9A=84=E8=AE=B8=E5=A4=9A=E6=89=A9=E5=B1=95 [zh_cn_gnu-extens= ions]_=EF=BC=8C=E5=BD=93=E7=84=B6=EF=BC=8C=E5=AE=83=E4=BB=AC=E8=AE=B8=E5=A4= =9A=E9=83=BD=E5=9C=A8=E5=86=85=E6=A0=B8=E4=B8=AD=E4=BD=BF=E7=94=A8=E3=80=82 =20 =E5=B1=9E=E6=80=A7 ---- =20 -=E5=9C=A8=E6=95=B4=E4=B8=AA=E5=86=85=E6=A0=B8=E4=B8=AD=E4=BD=BF=E7=94=A8= =E7=9A=84=E4=B8=80=E4=B8=AA=E5=B8=B8=E8=A7=81=E6=89=A9=E5=B1=95=E6=98=AF=E5= =B1=9E=E6=80=A7=EF=BC=88attributes=EF=BC=89 :ref:`gcc-attribute-syntax ` +=E5=9C=A8=E6=95=B4=E4=B8=AA=E5=86=85=E6=A0=B8=E4=B8=AD=E4=BD=BF=E7=94=A8= =E7=9A=84=E4=B8=80=E4=B8=AA=E5=B8=B8=E8=A7=81=E6=89=A9=E5=B1=95=E6=98=AF=E5= =B1=9E=E6=80=A7=EF=BC=88attributes=EF=BC=89 [zh_cn_gcc-attribute-syntax]_= =E3=80=82 =E5=B1=9E=E6=80=A7=E5=85=81=E8=AE=B8=E5=B0=86=E5=AE=9E=E7=8E=B0=E5=AE=9A= =E4=B9=89=E7=9A=84=E8=AF=AD=E4=B9=89=E5=BC=95=E5=85=A5=E8=AF=AD=E8=A8=80=E5= =AE=9E=E4=BD=93=EF=BC=88=E5=A6=82=E5=8F=98=E9=87=8F=E3=80=81=E5=87=BD=E6=95= =B0=E6=88=96=E7=B1=BB=E5=9E=8B=EF=BC=89=EF=BC=8C=E8=80=8C=E6=97=A0=E9=9C=80= =E5=AF=B9=E8=AF=AD=E8=A8=80=E8=BF=9B=E8=A1=8C -=E9=87=8D=E5=A4=A7=E7=9A=84=E8=AF=AD=E6=B3=95=E6=9B=B4=E6=94=B9=EF=BC=88= =E4=BE=8B=E5=A6=82=E6=B7=BB=E5=8A=A0=E6=96=B0=E5=85=B3=E9=94=AE=E5=AD=97=EF= =BC=89 :ref:`n2049 ` +=E9=87=8D=E5=A4=A7=E7=9A=84=E8=AF=AD=E6=B3=95=E6=9B=B4=E6=94=B9=EF=BC=88= =E4=BE=8B=E5=A6=82=E6=B7=BB=E5=8A=A0=E6=96=B0=E5=85=B3=E9=94=AE=E5=AD=97=EF= =BC=89 [zh_cn_n2049]_=E3=80=82 =20 =E5=9C=A8=E6=9F=90=E4=BA=9B=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E5=B1=9E= =E6=80=A7=E6=98=AF=E5=8F=AF=E9=80=89=E7=9A=84=EF=BC=88=E5=8D=B3=E4=B8=8D=E6= =94=AF=E6=8C=81=E8=BF=99=E4=BA=9B=E5=B1=9E=E6=80=A7=E7=9A=84=E7=BC=96=E8=AF= =91=E5=99=A8=E4=BB=8D=E7=84=B6=E5=BA=94=E8=AF=A5=E7=94=9F=E6=88=90=E6=AD=A3= =E7=A1=AE=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=8C =E5=8D=B3=E4=BD=BF=E5=85=B6=E9=80=9F=E5=BA=A6=E8=BE=83=E6=85=A2=E6=88=96= =E6=89=A7=E8=A1=8C=E7=9A=84=E7=BC=96=E8=AF=91=E6=97=B6=E6=A3=80=E6=9F=A5/= =E8=AF=8A=E6=96=AD=E6=AC=A1=E6=95=B0=E4=B8=8D=E5=A4=9F=EF=BC=89 @@ -30,42 +27,27 @@ ``__attribute__((__pure__))`` =EF=BC=89=EF=BC=8C=E4=BB=A5=E6=A3=80=E6=B5= =8B=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94=A8=E5=93=AA=E4=BA=9B=E5=85=B3=E9=94=AE= =E5=AD=97=E5=92=8C/=E6=88=96=E7=BC=A9=E7=9F=AD=E4=BB=A3=E7=A0=81, =E5=85=B7= =E4=BD=93 =E8=AF=B7=E5=8F=82=E9=98=85 ``include/linux/compiler_attributes.h`` =20 -.. _cn_c-language: - -c-language - http://www.open-std.org/jtc1/sc22/wg14/www/standards - -.. _cn_gcc: - -gcc - https://gcc.gnu.org - -.. _cn_clang: - -clang - https://clang.llvm.org - -.. _cn_icc: - -icc - https://software.intel.com/en-us/c-compilers - -.. _cn_gcc-c-dialect-options: - -c-dialect-options - https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html - -.. _cn_gnu-extensions: - -gnu-extensions - https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html - -.. _cn_gcc-attribute-syntax: - -gcc-attribute-syntax - https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html - -.. _cn_n2049: +Rust +---- =20 -n2049 - http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2049.pdf +=E5=86=85=E6=A0=B8=E5=AF=B9 Rust =E7=BC=96=E7=A8=8B=E8=AF=AD=E8=A8=80 [zh_= cn_rust-language]_ =E7=9A=84=E6=94=AF=E6=8C=81=E6=98=AF=E5=AE=9E=E9=AA=8C= =E6=80=A7=E7=9A=84=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=8F=AF=E4=BB=A5=E9=80=9A=E8= =BF=87=E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9 +``CONFIG_RUST`` =E6=9D=A5=E5=90=AF=E7=94=A8=E3=80=82Rust =E4=BB=A3=E7=A0= =81=E4=BD=BF=E7=94=A8 ``rustc`` [rustc]_ =E7=BC=96=E8=AF=91=E5=99=A8=E5=9C= =A8 +``--edition=3D2021`` [zh_cn_rust-editions]_ =E9=80=89=E9=A1=B9=E4=B8=8B=E8= =BF=9B=E8=A1=8C=E7=BC=96=E8=AF=91=E3=80=82=E7=89=88=E6=9C=AC=EF=BC=88Editio= ns=EF=BC=89=E6=98=AF=E4=B8=80=E7=A7=8D +=E5=9C=A8=E8=AF=AD=E8=A8=80=E4=B8=AD=E5=BC=95=E5=85=A5=E9=9D=9E=E5=90=8E= =E5=90=91=E5=85=BC=E5=AE=B9=E7=9A=84=E5=B0=8F=E5=9E=8B=E5=8F=98=E6=9B=B4=E7= =9A=84=E6=96=B9=E5=BC=8F=E3=80=82 + +=E9=99=A4=E6=AD=A4=E4=B9=8B=E5=A4=96=EF=BC=8C=E5=86=85=E6=A0=B8=E4=B8=AD= =E8=BF=98=E4=BD=BF=E7=94=A8=E4=BA=86=E4=B8=80=E4=BA=9B=E4=B8=8D=E7=A8=B3=E5= =AE=9A=E7=9A=84=E7=89=B9=E6=80=A7 [zh_cn_rust-unstable-features]_=E3=80=82= =E8=BF=99=E4=BA=9B=E4=B8=8D=E7=A8=B3=E5=AE=9A +=E7=9A=84=E7=89=B9=E6=80=A7=E5=B0=86=E6=9D=A5=E5=8F=AF=E8=83=BD=E4=BC=9A= =E5=8F=91=E7=94=9F=E5=8F=98=E5=8C=96=EF=BC=8C=E5=9B=A0=E6=AD=A4=EF=BC=8C=E4= =B8=80=E4=B8=AA=E9=87=8D=E8=A6=81=E7=9A=84=E7=9B=AE=E6=A0=87=E6=98=AF=E8=BE= =BE=E5=88=B0=E4=BB=85=E4=BD=BF=E7=94=A8=E7=A8=B3=E5=AE=9A=E7=89=B9=E6=80=A7= =E7=9A=84=E7=A8=8B=E5=BA=A6=E3=80=82 + +=E5=85=B7=E4=BD=93=E8=AF=B7=E5=8F=82=E9=98=85 Documentation/rust/index.rst + +.. [zh_cn_c-language] http://www.open-std.org/jtc1/sc22/wg14/www/standards +.. [gcc] https://gcc.gnu.org +.. [zh_cn_clang] https://clang.llvm.org +.. [zh_cn_gcc-c-dialect-options] https://gcc.gnu.org/onlinedocs/gcc/C-Dial= ect-Options.html +.. [zh_cn_gnu-extensions] https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.= html +.. [zh_cn_gcc-attribute-syntax] https://gcc.gnu.org/onlinedocs/gcc/Attribu= te-Syntax.html +.. [zh_cn_n2049] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2049.pdf +.. [zh_cn_rust-language] https://www.rust-lang.org +.. [rustc] https://doc.rust-lang.org/rustc/ +.. [zh_cn_rust-editions] https://doc.rust-lang.org/edition-guide/editions/ +.. [zh_cn_rust-unstable-features] https://github.com/Rust-for-Linux/linux/= issues/2 --=20 2.43.0