Fix some nightly build errors #1092

Closed
opened 2026-04-06 01:34:21 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dani-garcia on 6/19/2024

I was building vaultwarden with the latest rust nightly and was met with a couple of build errors/warnings.

  • Some unknown cfg warnings about the cfg's that we define based on features, which I disabled in the build.rs file
  • Some type inference errors, where a couple of functions were inferring the ! type instead of (). I'm not sure if this is a transient error or will become a hard error in a future stable release, but it was easy enough to solve.

This was using nightly 2024-06-18

*Originally created by @dani-garcia on 6/19/2024* I was building vaultwarden with the latest rust nightly and was met with a couple of build errors/warnings. - Some `unknown cfg` warnings about the cfg's that we define based on features, which I disabled in the build.rs file - Some type inference errors, where a couple of functions were inferring the `!` type instead of `()`. I'm not sure if this is a transient error or will become a hard error in a future stable release, but it was easy enough to solve. This was using nightly `2024-06-18`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1092