You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think I caught a bug in witgen. When I run cargo witgen generate on this code:
use witgen::witgen;#[witgen]fnworks(){}#[witgen]fndoesnt_work(handle:i32) -> i32{ handle }#[witgen]structWorks{test:i32}#[witgen]structDoesntWork{handle:i32}
Then it creates this WIT file:
// auto-generated file by witgen (https://github.com/bnjjj/witgen), please do not edit yourself, you can generate a new one thanks to cargo witgen generate command. (cargo-witgen v0.15.0)
works: func()
record works {
test: s32
}
The function doesnt_work and the struct DoesntWork are missing.
There is no error being reported from the cargo witgen generate command.
I am using cargo-witgen v0.15.0, the witgen crate is also v0.15.0.
The text was updated successfully, but these errors were encountered:
Hi, I think I caught a bug in witgen. When I run
cargo witgen generate
on this code:Then it creates this WIT file:
The function
doesnt_work
and the structDoesntWork
are missing.There is no error being reported from the
cargo witgen generate
command.I am using cargo-witgen v0.15.0, the witgen crate is also v0.15.0.
The text was updated successfully, but these errors were encountered: