New translations environment-variables.mdx (Russian)

[ci skip]
This commit is contained in:
2026-07-06 02:21:46 +08:00
parent 8a33a31445
commit 32d76ff80f

View File

@@ -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`.