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

evenly_sized_tracks - fix simple compile error #643

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

DavidM603
Copy link
Contributor

@DavidM603 DavidM603 commented Apr 12, 2024

flex's argument needs to be Into f32, a plain float literal is f64 which does not work, I just specified that the argument here is f32

Objective

fixes #642

flex's argument needs to be Into<f32>, a plain float literal is f64 which does not work, I just specified that the argument here is f32
@xbz-24
Copy link

xbz-24 commented Apr 12, 2024

https://github.com/bevyengine/bevy/actions/runs/8656168577/job/23736270747?pr=12923#step:6:636

this is causing an error in CI for taffy apparently aswell

@nicoburns nicoburns merged commit 9f27870 into DioxusLabs:main Apr 12, 2024
19 checks passed
@nicoburns
Copy link
Collaborator

This seems uncontroversial, although it won't fix 3rd-party code that's calling this API and relying on type inference. I guess this should probably to be backported to the 0.3.x series seeing as Bevy is still using that.

@djeedai
Copy link

djeedai commented Apr 12, 2024

Bevy is currently unusable, all compatible versions 0.3.10 to 0.3.18 are broken.

nicoburns pushed a commit to nicoburns/taffy that referenced this pull request Apr 12, 2024
flex's argument needs to be Into<f32>, a plain float literal is f64 which does not work, I just specified that the argument here is f32

(cherry picked from commit 9f27870)
This was referenced Apr 12, 2024
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.

The trait bound f32: From<f64> is not satisfied
4 participants