rust/*: update path, add Tamil translation (#9637)

* rustup: add page

* rustc: add Tamil translation

* rustfmt: add Tamil translation

* rust/* : update path

* rustc: update Tamil translation

* Apply suggestions from code review

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
pull/3/head
K.B.Dharun Krishna 2023-01-04 09:57:33 +05:30 committed by GitHub
parent d6699a289f
commit 10bccbd1e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 94 additions and 12 deletions

View File

@ -6,15 +6,15 @@
- Compila um único arquivo:
`rustc {{arquivo.rs}}`
`rustc {{caminho/para/arquivo.rs}}`
- Compila com alta otimização:
`rustc -O {{arquivo.rs}}`
`rustc -O {{caminho/para/arquivo.rs}}`
- Compila com informações de depuração:
`rustc -g {{arquivo.rs}}`
`rustc -g {{caminho/para/arquivo.rs}}`
- Compila com otimizações específicas de arquitetura para a CPU atual:

33
pages.ta/common/rustc.md Normal file
View File

@ -0,0 +1,33 @@
# rustc
> ரஸ்ட் கம்பைலர்.
> ரஸ்ட் மொழி மூல கோப்புகளை செயலாக்குகிறது, தொகுக்கிறது மற்றும் இணைக்கிறது.
> மேலும் விவரத்திற்கு: <https://doc.rust-lang.org/rustc>.
- ஒரு கோப்பை தொகுக்கவும்:
`rustc {{பாதை/டு/கோப்பு.rs}}`
- உயர் தேர்வுமுறையுடன் தொகுக்கவும்:
`rustc -O {{பாதை/டு/கோப்பு.rs}}`
- பிழைத்திருத்த தகவலுடன் தொகுக்கவும்:
`rustc -g {{பாதை/டு/கோப்பு.rs}}`
- தற்போதைய CPU க்கான கட்டிடக்கலை-குறிப்பிட்ட மேம்படுத்தல்களுடன் தொகுக்கவும்:
`rustc -C target-cpu=native {{பாதை/டு/கோப்பு.rs}}`
- தற்போதைய CPU க்கான கட்டிடக்கலை-குறிப்பிட்ட மேம்படுத்தல்களைக் காண்பி:
`rustc -C target-cpu=native --print cfg`
- இலக்கு பட்டியலைக் காட்டு:
`rustc --print target-list`
- ஒரு குறிப்பிட்ட இலக்கை தொகுக்கவும்:
`rustc --target {{இலக்கு_மூன்று}} {{பாதை/டு/கோப்பு.rs}}`

View File

@ -0,0 +1,16 @@
# rustfmt
> ரஸ்ட் மூலக் குறியீட்டை வடிவமைப்பதற்கான கருவி.
> மேலும் விவரத்திற்கு: <https://github.com/rust-lang/rustfmt>.
- ஒரு கோப்பை வடிவமைக்கவும், அசல் கோப்பை மேலெழுதவும்:
`rustfmt {{பாதை/டு/மூலம்.rs}}`
- வடிவமைப்பிற்கான கோப்பைச் சரிபார்த்து, கன்சோலில் ஏதேனும் மாற்றங்களைக் காட்டவும்:
`rustfmt --check {{பாதை/டு/மூலம்.rs}}`
- வடிவமைப்பிற்கு முன் ஏதேனும் மாற்றப்பட்ட கோப்புகளை காப்புப் பிரதி எடுக்கவும் (அசல் கோப்பு `.bk` நீட்டிப்புடன் மறுபெயரிடப்பட்டது):
`rustfmt --backup {{பாதை/டு/மூலம்.rs}}`

33
pages.ta/common/rustup.md Normal file
View File

@ -0,0 +1,33 @@
# rustup
> ரஸ்ட் டூல்செயின் நிறுவி.
> ரஸ்ட் டூல்செயின்களை நிறுவவும், நிர்வகிக்கவும் மற்றும் புதுப்பிக்கவும் இதை பயன்படுத்துகிறோம்.
> மேலும் விவரத்திற்கு: <https://github.com/rust-lang/rustup.rs>.
- உங்கள் கணினிக்கு இரவு டூல்செயின்களை நிறுவவும்:
`rustup install nightly`
- இயல்புநிலை டூல்செயின்களை இரவிற்கு மாற்றவும், இதனால் `cargo` மற்றும் `rustc` கட்டளைகள் அதைப் பயன்படுத்தும்:
`rustup default nightly`
- தற்போதைய ப்ராஜெக்ட்டில் இருக்கும் போது இரவு டூல்செயினைப் பயன்படுத்தவும், ஆனால் உலகளாவிய அமைப்புகளை மாற்றாமல் விடவும்:
`rustup override set nightly`
- அனைத்து டூல்செயின்களையும் புதுப்பிக்கவும்:
`rustup update`
- நிறுவப்பட்ட டூல்செயின்களை பட்டியலிடுங்கள்:
`rustup show`
- ஒரு குறிப்பிட்ட டூல்செயின் மூலம் சரக்கு கட்டமைப்பை இயக்கவும்:
`rustup run {{டூல்செயின்_பெயர்}} cargo build`
- இயல்புநிலை இணைய உலாவியில் உள்ளூர் ரஸ்ட் ஆவணத்தைத் திறக்கவும்:
`rustup doc`

View File

@ -5,12 +5,12 @@
- 格式化文件,就地覆盖原始文件:
`rustfmt {{source.rs}}`
`rustfmt {{路径/到/源文件.rs}}`
- 检查文件的格式并在控制台上显示所有更改:
`rustfmt --check {{source.rs}}`
`rustfmt --check {{路径/到/源文件.rs}}`
- 格式化之前,备份所有修改过的文件(原始文件的扩展名为 `.bk`
`rustfmt --backup {{source.rs}}`
`rustfmt --backup {{路径/到/源文件.rs}}`

View File

@ -6,15 +6,15 @@
- Compile a single file:
`rustc {{file.rs}}`
`rustc {{path/to/file.rs}}`
- Compile with high optimization:
`rustc -O {{file.rs}}`
`rustc -O {{path/to/file.rs}}`
- Compile with debugging information:
`rustc -g {{file.rs}}`
`rustc -g {{path/to/file.rs}}`
- Compile with architecture-specific optimizations for the current CPU:

View File

@ -5,12 +5,12 @@
- Format a file, overwriting the original file in-place:
`rustfmt {{source.rs}}`
`rustfmt {{path/to/source.rs}}`
- Check a file for formatting and display any changes on the console:
`rustfmt --check {{source.rs}}`
`rustfmt --check {{path/to/source.rs}}`
- Backup any modified files before formatting (the original file is renamed with a `.bk` extension):
`rustfmt --backup {{source.rs}}`
`rustfmt --backup {{path/to/source.rs}}`