Skip to content

Commit

Permalink
Add ext_equal attr to atomic state_machine! generated State structs (#…
Browse files Browse the repository at this point in the history
…1422)

Co-authored-by: Jon Howell <howell@vmware.com>
  • Loading branch information
jonhnet and Jon Howell authored Jan 31, 2025
1 parent e5221ab commit 59c71d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/state_machines_macros/src/to_token_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ pub fn output_primary_stuff(
let attrs = &bundle.sm.attrs;
let code: TokenStream = quote_spanned! { sm.fields_named_ast.span() =>
#[cfg_attr(verus_keep_ghost, verus::internal(verus_macro))]
#[verifier::ext_equal]
#(#attrs)*
pub struct State #gen {
#(#fields),*
Expand Down

0 comments on commit 59c71d8

Please sign in to comment.