uutils / uutils/coreutils

Windows Release Build Localization

Open
#8,263 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

Building a Windows binary in release using:

cargo build --release --features "dd" --no-default-features

results in coreutils not working with error:

> .\coreutils.exe dd --help
Could not init the localization system: Locales directory not found: Release locales directory not found starting from [Absolute Path]\dist\coreutils\target\release

This is the case when building with entire suite of tools as well.

Building the coreutils in debug works as intended.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the release command cargo build --release --features "dd" --no-default-features, then compare its output and locales layout with a debug build. Trace the localization initialization that reports the missing Release locales directory and verify the fix by running target/release/coreutils.exe dd --help; done means the release binary starts without the localization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, cli, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.