Closed
Description
Some crates are defining enums with only one variant without using #[repr(_)]
, and in 1.27 beta those enums have size 0. This breaks those crates when they use transmute though.
An easy fix for those crates is adding the appropriate #[repr()]
attribute to the enums, but we might want to revert the change to avoid breaking compatibility.
// Taken from libvirt-rpc in src/request.rs
#[derive(Debug)]
pub enum EventShutdownDetailType
Finished = 0,
}
- libvirt-rpc regressed from stable to beta (build log) cc @polachok
- utp regressed from stable to beta (build log) cc @meqif
- temp_utp regressed from stable to beta (build log) cc @vinipsmaker