Skip to content

Use correct minimum version of profiling crate - #5494

Merged
emilk merged 1 commit into
masterfrom
lucas/update-profiling
Dec 17, 2024
Merged

emilk merged 1 commit into
masterfrom
lucas/update-profiling

Conversation

@lucasmerlin

Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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

emilk commented Dec 17, 2024

Copy link
Copy Markdown
Owner

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
@emilk
emilk deleted the lucas/update-profiling branch December 17, 2024 08:37
@lucasmerlin

lucasmerlin commented Dec 17, 2024

Copy link
Copy Markdown
Collaborator Author

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