Changed
- Reduced usage of
unsafecode: replacedtransmute/transmute_copywith safe
alternatives forBoolean/Null/Undefinedconstants andArrayTupleconversions,
unified duplicatedAsRef/Fromimpls for generic imported types, and removed the
__wbindgen_object_is_undefinedintrinsic in favor of a safe Rust-side equivalent.
#4993
Fixed
- Fixed incorrect method naming for stable web-sys methods that reference unstable
types (e.g.texImage2Dtaking aVideoFrameparameter). These methods were
being named in a separate unstable expansion namespace, producing overly-short
names liketex_image_2dinstead of the correct
tex_image_2d_with_u32_and_u32_and_video_frame. The fix separates the signature
classification to distinguish "from unstable IDL" (authoritative overrides) from
"stable method using an unstable type", ensuring the latter is named as part of
the stable expansion.
#4991