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 correct minimum version of profiling crate #5494

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

lucasmerlin
Copy link
Collaborator

We need profiling::function_scope which was introduced in 1.0.16, so this is the minimum required version

@lucasmerlin lucasmerlin added bug Something is broken egui labels Dec 16, 2024
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5494-lucasupdate-profiling
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@lucasmerlin
Copy link
Collaborator Author

Maybe we could try to setup a workflow that runs cargo check / test with -Z-minimal-version, to prevent issues like this in the future?

https://github.com/taiki-e/cargo-minimal-versions
https://internals.rust-lang.org/t/zminimal-versions-cargo-update-and-cargo-upgrade/21335

@emilk
Copy link
Owner

emilk commented Dec 17, 2024

Maybe we could try to setup a workflow that runs cargo check / test with -Z-minimal-version, to prevent issues like this in the future?

that would be nice yes - can you create an issue for this (or just add the workflow)? 🙏

@emilk emilk changed the title Update profiling Use correct minimum version of profiling crate Dec 17, 2024
@emilk emilk merged commit 8c4d8b2 into master Dec 17, 2024
47 of 48 checks passed
@emilk emilk deleted the lucas/update-profiling branch December 17, 2024 08:37
@lucasmerlin
Copy link
Collaborator Author

lucasmerlin commented Dec 17, 2024

Issue: #5497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken egui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors in epaint update 0.30.0 related to profiling
2 participants