Skip to content

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
@github-actions
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

3 participants