Skip to content
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

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

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
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