diff --git a/pages.pt_BR/common/rustc.md b/pages.pt_BR/common/rustc.md index 69bf35c9e0..2bcd8a1e15 100644 --- a/pages.pt_BR/common/rustc.md +++ b/pages.pt_BR/common/rustc.md @@ -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: diff --git a/pages.ta/common/rustc.md b/pages.ta/common/rustc.md new file mode 100644 index 0000000000..4bad8d0611 --- /dev/null +++ b/pages.ta/common/rustc.md @@ -0,0 +1,33 @@ +# 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}}` diff --git a/pages.ta/common/rustfmt.md b/pages.ta/common/rustfmt.md new file mode 100644 index 0000000000..dd61412e74 --- /dev/null +++ b/pages.ta/common/rustfmt.md @@ -0,0 +1,16 @@ +# rustfmt + +> ரஸ்ட் மூலக் குறியீட்டை வடிவமைப்பதற்கான கருவி. +> மேலும் விவரத்திற்கு: . + +- ஒரு கோப்பை வடிவமைக்கவும், அசல் கோப்பை மேலெழுதவும்: + +`rustfmt {{பாதை/டு/மூலம்.rs}}` + +- வடிவமைப்பிற்கான கோப்பைச் சரிபார்த்து, கன்சோலில் ஏதேனும் மாற்றங்களைக் காட்டவும்: + +`rustfmt --check {{பாதை/டு/மூலம்.rs}}` + +- வடிவமைப்பிற்கு முன் ஏதேனும் மாற்றப்பட்ட கோப்புகளை காப்புப் பிரதி எடுக்கவும் (அசல் கோப்பு `.bk` நீட்டிப்புடன் மறுபெயரிடப்பட்டது): + +`rustfmt --backup {{பாதை/டு/மூலம்.rs}}` diff --git a/pages.ta/common/rustup.md b/pages.ta/common/rustup.md new file mode 100644 index 0000000000..e268e60d8a --- /dev/null +++ b/pages.ta/common/rustup.md @@ -0,0 +1,33 @@ +# rustup + +> ரஸ்ட் டூல்செயின் நிறுவி. +> ரஸ்ட் டூல்செயின்களை நிறுவவும், நிர்வகிக்கவும் மற்றும் புதுப்பிக்கவும் இதை பயன்படுத்துகிறோம். +> மேலும் விவரத்திற்கு: . + +- உங்கள் கணினிக்கு இரவு டூல்செயின்களை நிறுவவும்: + +`rustup install nightly` + +- இயல்புநிலை டூல்செயின்களை இரவிற்கு மாற்றவும், இதனால் `cargo` மற்றும் `rustc` கட்டளைகள் அதைப் பயன்படுத்தும்: + +`rustup default nightly` + +- தற்போதைய ப்ராஜெக்ட்டில் இருக்கும் போது இரவு டூல்செயினைப் பயன்படுத்தவும், ஆனால் உலகளாவிய அமைப்புகளை மாற்றாமல் விடவும்: + +`rustup override set nightly` + +- அனைத்து டூல்செயின்களையும் புதுப்பிக்கவும்: + +`rustup update` + +- நிறுவப்பட்ட டூல்செயின்களை பட்டியலிடுங்கள்: + +`rustup show` + +- ஒரு குறிப்பிட்ட டூல்செயின் மூலம் சரக்கு கட்டமைப்பை இயக்கவும்: + +`rustup run {{டூல்செயின்_பெயர்}} cargo build` + +- இயல்புநிலை இணைய உலாவியில் உள்ளூர் ரஸ்ட் ஆவணத்தைத் திறக்கவும்: + +`rustup doc` diff --git a/pages.zh/common/rustfmt.md b/pages.zh/common/rustfmt.md index 82ef882ff1..46f6ecde3b 100644 --- a/pages.zh/common/rustfmt.md +++ b/pages.zh/common/rustfmt.md @@ -5,12 +5,12 @@ - 格式化文件,就地覆盖原始文件: -`rustfmt {{source.rs}}` +`rustfmt {{路径/到/源文件.rs}}` - 检查文件的格式并在控制台上显示所有更改: -`rustfmt --check {{source.rs}}` +`rustfmt --check {{路径/到/源文件.rs}}` - 格式化之前,备份所有修改过的文件(原始文件的扩展名为 `.bk`): -`rustfmt --backup {{source.rs}}` +`rustfmt --backup {{路径/到/源文件.rs}}` diff --git a/pages/common/rustc.md b/pages/common/rustc.md index c4a9106681..cec7053644 100644 --- a/pages/common/rustc.md +++ b/pages/common/rustc.md @@ -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: diff --git a/pages/common/rustfmt.md b/pages/common/rustfmt.md index 0966150210..693cb7e76b 100644 --- a/pages/common/rustfmt.md +++ b/pages/common/rustfmt.md @@ -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}}`