Skip to content

Pull changes from rustversion v1.0.23.

Choose a tag to compare

@Techcable Techcable released this 25 Jul 06:35
· 9 commits to master since this release
4e7cf0f

rustversion logic update

Updated version detection logic to mirror rustversion v1.0.23 (previously v1.0.17).

This includes the following changes:

  • Support for the mirai compiler wrapper.
  • Set RUSTVERSION=1 during rustc --version command (fixes rustversion#67)

Note that only changes to sources in the build/ subdirectory of rustversion
are actually applicable to rustversion-detect.
Even then, some changes are not needed here (ex. no need to workaround -Zfmt-debug=none).

Added

  • Add #[must_use] annotations to most public methods.