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

Un-downgrade tracy-client-sys accidentally caused by feature selection #4346

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jun 4, 2024

I failed to copy from upstream all the cargo features visible in tracy-client-sys when updating our local override of it

As a result, when doing a recent build, cargo helpfully failed to satisfy tracy-client's dependency on tracy-client-sys using the locked tracy-client-sys 0.22.2 (which selects the local override) and instead added an additional downgraded dependency on tracy-client-sys 0.22.1. Of course this also has the unfortunate side effect of not using our local copy of the C++ tracy client library at all, including any local patching we've had to do to make it build (eg. ignoring an fscanf return value as required by gcc 11).

Anyway short story long the fix is just to add the necessary features, delete the auxiliary tracy-client-sys 0.22.1 dependency, and fix any fallout.

(Note that this also causes the host-dep-tree-curr.txt entry to change to inexact -- because it's just pointing to an in-tree patched version of tracy-client-sys -- which on the one hand it's never been before, but on the other hand is probably correct-ish? I.e. I think it's probably the case that the hash we had in there before for 0.20.0 was wrong, because it would have been the checksum of the crates.io package and we literally never built against that, I think it just wound up in the lockfile by accident while I was originally iterating on getting the cross-language tracy build working.)

@SirTyson
Copy link
Contributor

SirTyson commented Jun 5, 2024

r+ 36e526f

@latobarita latobarita merged commit 8ed53fc into stellar:master Jun 5, 2024
15 checks passed
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.

3 participants