Skip to content

Multiversion 0.5.0

Choose a tag to compare

@calebzulawski calebzulawski released this 19 Apr 23:03
· 175 commits to master since this release

Added

  • Support for associated functions (including methods).
  • Support for impl Trait.
  • Specification for name mangling.
  • Documentation for #[safe_inner] helper attribute for #[target].

Removed

  • Removed #[target_clones] attribute (functionality is now included in #[multiversion] attribute).

Changed

  • #[multiversion] interface now uses helper attributes, providing both target specialization and function cloning.
  • Increased minimum required Rust version to 1.34.0.

Fixed

  • Vague error spans now point to a more informative source location.
  • All errors now produce compile_error! instead of macro panics.