8000 `stdbuf`: get profile from the end of the path by tertsdiepraam · Pull Request #4638 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stdbuf: get profile from the end of the path #4638

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

Merged
merged 1 commit into from
Mar 26, 2023

Conversation

tertsdiepraam
Copy link
Member
@tertsdiepraam tertsdiepraam commented Mar 25, 2023

The path is not always /target/{PROFILE}, because cross uses /target/{TARGET_TRIPLE}/{PROFILE}, so we have to get the name of the profile in another way. StackOverflow recommended the getting the third component from the back of the path.

Closes #4634 (hopefully)

Maybe some time soon rust-lang/cargo#11054 will get fixed and we can remove this again.

The path is not always /target/{PROFILE}, because cross uses
/target/{TARGET_TRIPLE}/profile, so we have to get the name
in another way. StackOverflow recommended the getting the
third component from the back of the path
@tertsdiepraam tertsdiepraam requested a review from sylvestre March 25, 2023 21:01
@sylvestre sylvestre merged commit 8a3007e into uutils:main Mar 26, 2023
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.

Cross stdbuf builds are failing
2 participants
0