Skip to content

Update to rust 2021 edition#196

Draft
DivineGod wants to merge 8 commits intomuseumsvictoria:masterfrom
ArtProcessors:make-work-2022
Draft

Update to rust 2021 edition#196
DivineGod wants to merge 8 commits intomuseumsvictoria:masterfrom
ArtProcessors:make-work-2022

Conversation

@DivineGod
Copy link
Copy Markdown

@DivineGod DivineGod commented Jun 14, 2022

Trying to get this project to compile in 2022.

I had some issues with the Cargo.lock file missing which caused some dependencies to not work out of the box so I updated everything to the latest versions.

This upgrade caused a few issues with generic types, especially Vector2 and Point2 which are now using DVec2 from glam.

The main issue in this that I haven't yet worked through is a change in nannou_audio::stream::Shared that means in is now !Sync as it now contains a cpal::Stream which is !Sync. I've currently resorted to commenting out starting the Soundscape update thread and it's just returning None instead of Some(thread) (the instantiation of which is currently commented out so to make the compiler happy)

  • Compile in 2021 edition (Soundscape disabled)
  • Enable soundscape
  • Verify that it works as intended

@DivineGod DivineGod changed the title Make work 2022 Update to rust 2021 edition Jun 14, 2022
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.

1 participant