Windows Release Build Localization
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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