Skip to content

Allocation error on Windows and Linux#69

Closed
weihanglo wants to merge 4 commits intomasterfrom
oom
Closed

Allocation error on Windows and Linux#69
weihanglo wants to merge 4 commits intomasterfrom
oom

Conversation

@weihanglo
Copy link
Owner

No description provided.

@weihanglo weihanglo closed this Oct 30, 2024
We're going to add the magic marker in the next commit.
The v0 test is to ensure that we don't change anything unexpected.
@weihanglo weihanglo reopened this Oct 30, 2024
@weihanglo
Copy link
Owner Author

Encodes the version information into Cargo's fingerprint dep-info files,
so that when the format encoding changes in the future,
Cargo understands a dep-info file was outdated and doesn't bother parsing it.

Since there was no version info encoded in the old format (call it v0),
to be compatible with older cargoes,
this PR works around it with a horrible hack.
It is explained in the doc comment of `EncodedDepInfo`.
@weihanglo
Copy link
Owner Author

Successful build after the magic header hack: https://github.com/weihanglo/cargo/actions/runs/11603104002/job/32309445267?pr=69

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