RU
Добавлено:
-
Имена библиотечных артефактов —
build.filenameиbuild.extensionтеперь работают дляstaticlibиsharedlib:filename = "sct"даётlibsct.a(libsct.libна Windows), а явныйextensionполностью задаёт имя. -
Линковка библиотек с нестандартным именем — зависимости, чей артефакт нельзя выразить как
-l<name>(libfoo.a/foo.lib), передаются линкеру точным путём, включая библиотеки-члены workspace. -
Короткие имена ОС в секциях —
[build.windows],[build.linux.debug]и подобные работают как алиасы полного триплета; при конфликте побеждает полный триплет. -
dcr --update— ожидает ассетыdcr-<triple>-<version>[.exe], как их публикует релизный workflow, сохраняя поддержку старых имён без версии. -
dcrup и Windows — bash-установщик понимает Git Bash/MSYS2/Cygwin: ассеты и бинарники с
.exe,list/show/which/default/uninstallучитывают суффикс.
Исправлено:
-
dcr run— запускает артефакт, разрешённый поfilename/extension, профилю и target, а не толькоtarget/<profile>/<package>. -
dcr test— линкует библиотеку проекта точным путём при нестандартном имени и использует target-awarecflags/ldflags/pkg_config. -
dcrup install VERSION@dev— при отсутствии-dev-тега откатывается наvVERSION;--buildрезолвит тег через git и не требует GitHub API. -
dcrup default/dcrup uninstall— находят плавающую установкуstable-<version>, а для каналов выбирают последнюю версию численно (0.10.0>0.9.5; night — по времени изменения). -
Неудачные установки — больше не оставляют пустых toolchain-каталогов;
dcrup listне показывает версии без бинарника. -
dcrup uninstallактивной версии — переключает default на одну из оставшихся, а не оставляетdcrбез ссылки. -
dcrup self-install— безопасен при повторном запуске, проверяет--toи PATH каталога установки. -
--no-modify-path— не меняет PATH даже в текущей сессии, как и описано в документации. -
--quiet— предупреждения уходят в stderr и не попадают в захватываемые значения; ошибкиcargo/gitвсё равно видны. -
Документация — обновлены installation, self-update, environment variables,
dcr.tomlи build profiles.
Изменено:
- Примеры
examples/*больше не подмодули: это локальные каталоги, добавленные в.gitignore.
EN
Added:
-
Library artifact names —
build.filenameandbuild.extensionnow apply tostaticlibandsharedlib:filename = "sct"yieldslibsct.a(libsct.libon Windows), while an explicitextensioncontrols the name exactly. -
Linking non-conventional library names — dependencies whose artifact cannot be expressed as
-l<name>(libfoo.a/foo.lib) are passed to the linker by exact path, including libraries built as workspace members. -
Short OS names in sections —
[build.windows],[build.linux.debug], and similar work as aliases for the full target triple; the full triple wins on conflicts. -
dcr --update— expectsdcr-<triple>-<version>[.exe]assets as published by the release workflow, while still accepting the older unversioned names. -
dcrup on Windows — the bash installer supports Git Bash/MSYS2/Cygwin:
.exeassets and binaries, withlist/show/which/default/uninstallhonouring the suffix.
Fixed:
-
dcr run— executes the artifact resolved fromfilename/extension, profile, and target instead of alwaystarget/<profile>/<package>. -
dcr test— links the project library by exact path for non-conventional names and uses target-awarecflags/ldflags/pkg_config. -
dcrup install VERSION@dev— falls back tovVERSIONwhen no-devtag exists;--buildresolves the tag through git and needs no GitHub API. -
dcrup default/dcrup uninstall— find a floatingstable-<version>install, and pick the newest version numerically for channels (0.10.0>0.9.5; night by modification time). -
Failed installs — no longer leave an empty toolchain directory behind;
dcrup listskips versions without a binary. -
dcrup uninstallof the active version — switches the default to one of the remaining toolchains instead of leavingdcrunlinked. -
dcrup self-install— safe to re-run and validates--toand the install directory's PATH entry. -
--no-modify-path— no longer edits PATH even for the current session, matching the documentation. -
--quiet— warnings go to stderr and cannot leak into captured values, whilecargo/giterrors are still shown. -
Documentation — installation, self-update, environment variables,
dcr.toml, and build profiles updated.
Changed:
-
examples/*are no longer submodules: they are local checkouts ignored via.gitignore.