mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 19:59:36 +00:00
New translations environment-variables.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
---
|
||||
sidebar_label: Environment variables
|
||||
sidebar_label: Переменные среды
|
||||
---
|
||||
|
||||
# Environment Variables
|
||||
# Переменные среды
|
||||
|
||||
## DCR_COMPILER
|
||||
|
||||
Overrides the compiler for all languages. **Highest priority.**
|
||||
Переопределяет компилятор для всех языков. **Highest priority.**
|
||||
|
||||
```bash
|
||||
export DCR_COMPILER=clang
|
||||
@@ -23,7 +23,7 @@ Compiler resolution priority:
|
||||
|
||||
## DCR_CC / DCR_CXX / DCR_AS
|
||||
|
||||
Per-language override (lower priority than `DCR_COMPILER`, higher than `[toolchain]`).
|
||||
Приоритет: `[toolchain]` > `DCR_COMPILER` > `DCR_CC` > `PATH`.
|
||||
|
||||
```bash
|
||||
export DCR_CC=gcc-14
|
||||
@@ -42,7 +42,7 @@ export DCR_AR=llvm-ar
|
||||
|
||||
## DCR_DEBUG
|
||||
|
||||
Enables debug mode — prints all compilation commands to stderr before execution.
|
||||
Включает режим отладки — печатает все команды компиляции перед выполнением.
|
||||
|
||||
```bash
|
||||
export DCR_DEBUG=1
|
||||
@@ -51,10 +51,10 @@ dcr build
|
||||
|
||||
## DCR_INDEX_PATH
|
||||
|
||||
Overrides the path to the registry `index.json`.
|
||||
Переопределяет путь к index.json реестра.
|
||||
|
||||
```bash
|
||||
export DCR_INDEX_PATH=/custom/path/index.json
|
||||
```
|
||||
|
||||
Default: `~/.dcr/index.json`.
|
||||
По умолчанию: `~/.dcr/index.json`.
|
||||
|
||||
Reference in New Issue
Block a user