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

Use GNU format tarballs to support longer paths #194

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

Conversation

cormacrelf
Copy link

This fixes errors related to paths being too long, which is common when using git dependencies. Note that cargo itself switched from UStar to GNU format in 2020 or so: rust-lang/cargo#8453.

thread 'main' panicked at src/main.rs:290:32:
    called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "provided value is too long when setting path for some-crate-0.123.123/src/" }

@cormacrelf cormacrelf marked this pull request as draft January 7, 2025 05:19
This fixes errors related to paths being too long, which is common when
using git dependencies. Note that cargo itself switched from UStar to
GNU format in 2020.

    thread 'main' panicked at src/main.rs:290:32:
        called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "provided value is too long when setting path for some-crate-0.123.123/src/" }
@cormacrelf cormacrelf marked this pull request as ready for review January 7, 2025 05:49
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.

1 participant