coreutils
coreutils copied to clipboard
binaries built with `cargo build --release` do not work due to placement of localization files
main branch, linux
$ cargo build --release
$ ./target/release/ls
Could not init the localization system: I/O error loading '/home/will/coreutils/target/release/ls/en-US.ftl': Not a directory (os error 20)
this only happens for release builds (cargo debug builds are fine), also happens for all binaries, including multicall
Are you sure it happens with 0.1.0 too? Trunk, no doubt
sorry, its happening on head of main, not in 0.1.0
I can also reproduce this on a Mac:
Could not init the localization system: I/O error loading '/Users/kburke/local/coreutils/bin/cut/en-US.ftl': Not a directory (os error 20)
I believe it needs to point at local/coreutils/share/cut or similar instead of bin