-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Description
My understanding is that wit-bindgen generates Rust code at build time. My understanding is that the generated code will basically never change in a substantial way because the ABIs for wasip2 and wasip3 pretty much mandate what is generated? Maybe this is less true for wasip3 than for wasip2 since wasip3 is less stable.
So, why not just generate that code and then check the generated code into getrandom, bypassing the wasip2 and wasip3 crates and all their dependencies?
I remember that we've avoided depending on windows-sys because it causes problems exactly analogous to the problems we're experiencing with wasip2 and wasip3 targets, and the solution for Windows is basically what I'm suggesting here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels