Fix windows build
This commit is contained in:
parent
4ea2484d91
commit
bd197a36f3
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ use whisper_rs_sys::{
|
|||
whisper_gretype_WHISPER_GRETYPE_RULE_REF,
|
||||
};
|
||||
|
||||
#[repr(u32)]
|
||||
#[cfg_attr(not(windows), repr(u32))]
|
||||
#[cfg_attr(windows, repr(i32))] // windows being *special* again
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum WhisperGrammarElementType {
|
||||
/// End of rule definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue