RU

Добавлено:

  • dcr run -- <args>... — cargo-style: всё после bare -- передаётся собранному бинарнику
    (dcr run --release -- --test_help). Работает и для прямого запуска, и для [run].cmd.
  • Интеграционные / unit-тесты — host target sections применяют ldflags без --target; проброс аргументов после --; парсер split_double_dash.

Изменено:

  • Native-сборка резолвит host triple — без --target / без build.target конфиг-секции вида
    [build.x86_64-unknown-linux-gnu] (и аналоги host) снова применяются (cflags / ldflags / toolchain).
    Раньше target был «пустым», секции молча игнорировались, а артефакты уже лежали под host triple — линковка без -L/-l.
  • Пустой target — normalize_target_os("") больше не warn'ит Unknown target ''.
  • dcr run --help / man dcr-run — документирован разделитель -- и forwarding args.

Исправлено:

  • Нативные пути артефактов на Windows и macOS — без явного --target / build.target артефакты снова сохраняются в target/<profile>, поэтому dcr run и flat-bin находят результат сборки.
  • Target-specific ldflags на native Linux/macOS/Windows (host triple) не доходили до линкера.
  • Ложный warning на пустой target string.

EN

Added:

  • dcr run -- <args>... — cargo-style: arguments after a bare -- are forwarded to the built binary
    (dcr run --release -- --test_help). Works for direct binary runs and [run].cmd.
  • Tests — host target sections apply ldflags without CLI --target; run-arg forwarding; split_double_dash unit tests.

Changed:

  • Native builds resolve the host triple — without --target / without package build.target, host sections such as
    [build.x86_64-unknown-linux-gnu] (and host equivalents) apply again (cflags / ldflags / toolchain).
    Previously the target was empty, those sections were silently ignored while artifacts already used the host triple path — link failed without -L/-l (e.g. sandbox micro-lang + libsct-elf).
  • Empty target — normalize_target_os("") no longer warns Unknown target ''.
  • dcr run --help / man dcr-run — document -- and argument forwarding.

Fixed:

  • Native artifact paths on Windows and macOS — without an explicit --target / build.target, artifacts again use target/<profile>, so dcr run and flat-bin find the build output.
  • Target-specific ldflags on native host builds not reaching the linker.
  • Spurious warning for an empty target string.