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

Fixes build of examples/hello_world_par on Linux #3795

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tomaz-Vieira
Copy link

Adds default-features to the eframe dependency in hello-world-par, fixing winit's build error ("The platform you're compiling for is not supported by winit")

@@ -9,7 +9,7 @@ publish = false


[dependencies]
eframe = { path = "../../crates/eframe", default-features = false, features = [
eframe = { path = "../../crates/eframe", features = [
# accesskit struggles with threading
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had default-features = false because "accesskit struggles with threading", so we probably need to test this a bit first. Maybe that comment is out-dated and no longer relevant

Copy link
Contributor

@DataTriny DataTriny Feb 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tested this and got a panic due to a failed assertion on crates/egui/src/context.rs line 2754. I don't think AccessKit is struggling here, but there is definitely a bug in this function.

@emilk emilk marked this pull request as draft March 25, 2024 11:04
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