mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	docs/zh_CN: Add rust arch-support Chinese translation
Translate .../rust/arch-support.rst into Chinese. Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Alex Shi <alexs@kernel.org> Reviewed-by: Wu XiangCheng <bobwxc@email.cn> Link: https://lore.kernel.org/r/1f5b1d1e4f84bf105ab5bed146652937a74e9b69.1666959529.git.siyanteng@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
		
							parent
							
								
									9b522a8582
								
							
						
					
					
						commit
						2ad34b8233
					
				
					 2 changed files with 24 additions and 4 deletions
				
			
		
							
								
								
									
										23
									
								
								Documentation/translations/zh_CN/rust/arch-support.rst
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Documentation/translations/zh_CN/rust/arch-support.rst
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					.. SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
 | 
					.. include:: ../disclaimer-zh_CN.rst
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:Original: Documentation/rust/arch-support.rst
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:翻译:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 司延腾 Yanteng Si <siyanteng@loongson.cn>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					架构支持
 | 
				
			||||||
 | 
					========
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					目前,Rust编译器(``rustc``)使用LLVM进行代码生成,这限制了可以支持的目标架构。此外,对
 | 
				
			||||||
 | 
					使用LLVM/Clang构建内核的支持也有所不同(请参见 Documentation/kbuild/llvm.rst )。这
 | 
				
			||||||
 | 
					种支持对于使用 ``libclang`` 的 ``bindgen`` 来说是必需的。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					下面是目前可以工作的架构的一般总结。支持程度与 ``MAINTAINERS`` 文件中的``S`` 值相对应:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					============  ================  ==============================================
 | 
				
			||||||
 | 
					架构          支持水平          限制因素
 | 
				
			||||||
 | 
					============  ================  ==============================================
 | 
				
			||||||
 | 
					``x86``       Maintained        只有 ``x86_64``
 | 
				
			||||||
 | 
					============  ================  ==============================================
 | 
				
			||||||
| 
						 | 
					@ -18,10 +18,7 @@ Rust
 | 
				
			||||||
    quick-start
 | 
					    quick-start
 | 
				
			||||||
    general-information
 | 
					    general-information
 | 
				
			||||||
    coding-guidelines
 | 
					    coding-guidelines
 | 
				
			||||||
 | 
					    arch-support
 | 
				
			||||||
TODOList:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
*    arch-support
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. only::  subproject and html
 | 
					.. only::  subproject and html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue