Skip to content

Fix symbolic links to sccache on linux #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sertonix
Copy link

@sertonix sertonix commented Jul 5, 2025

Whether or not env::current_exe follows symlinks is platform dependant. On linux it follows them which made it impossible to do things like ln -s sccache /usr/bin/cc. By reading env::args() directly we don't have this issue.

Fixes #993
Based on rivy/rs.coreutils@ad3852a

Whether or not env::current_exe follows symlinks is platform dependant.
On linux it follows them which made it impossible to do things like
ln -s sccache /usr/bin/cc. By reading env::args() directly we don't
have this issue.

Fixes mozilla#993
Based on rivy/rs.coreutils@ad3852a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symbolic link doesn't seem to work on Linux
1 participant