coreutils
coreutils copied to clipboard
build(deps): bump half from 1.8.2 to 2.0.0
Bumps half from 1.8.2 to 2.0.0.
Release notes
Sourced from half's releases.
2.0.0
Changed
- Breaking Change Minimum supported Rust version is now 1.58.
- Breaking Change
stdis now enabled as a default cargo feature. Disable default features to continue usingno_stdsupport.- Migrated to Rust Edition 2021.
- Added
#[must_use]attributes to functions, as appropriate.Fixed
- Fix a soundness bug with
slice::as_ptrnot correctly using mutable reference. By@Nilstrieb.Added
- Added
constconversion methods to bothf16andbf16. These methods never use hardware intrinsics, unlike the current conversion methods, which is why they are separated into new methods. The followingconstmethods were added:
from_f32_constfrom_f64_constto_f32_constto_f64_const- Added
Negtrait support for borrowed values&f16and&bf16. By@pthariensflame.- Added
AsPrimitiveimplementations from and to self,usize, andisize. By@kali.Removed
- Breaking Change The deprecated
serializecargo feature has been removed. Useserdecargo feature instead.- Breaking Change The deprecated
constsmodule has been removed. Use associated constants onf16instead.- Breaking Change The following deprecated functions have been removed:
f16::as_bitsslice::from_bits_mutslice::to_bits_mutslice::from_bitsslice::to_bitsvec::from_bitsvec::to_bits
Changelog
Sourced from half's changelog.
[2.0.0] - 2022-06-21
Changed
- Breaking Change Minimum supported Rust version is now 1.58.
- Breaking Change
stdis now enabled as a default cargo feature. Disable default features to continue usingno_stdsupport.- Migrated to Rust Edition 2021.
- Added
#[must_use]attributes to functions, as appropriate.Fixed
- Fix a soundness bug with
slice::as_ptrnot correctly using mutable reference. By [@Nilstrieb].Added
- Added
constconversion methods to bothf16andbf16. These methods never use hardware intrinsics, unlike the current conversion methods, which is why they are separated into new methods. The followingconstmethods were added:
from_f32_constfrom_f64_constto_f32_constto_f64_const- Added
Negtrait support for borrowed values&f16and&bf16. By [@pthariensflame].- Added
AsPrimitiveimplementations from and to self,usize, andisize. By [@kali].Removed
- Breaking Change The deprecated
serializecargo feature has been removed. Useserdecargo feature instead.- Breaking Change The deprecated
constsmodule has been removed. Use associated constants onf16instead.- Breaking Change The following deprecated functions have been removed:
f16::as_bitsslice::from_bits_mutslice::to_bits_mutslice::from_bitsslice::to_bitsvec::from_bitsvec::to_bits
Commits
7ae587cVersion bump for release2a463c3Add miri to CI36c1e3fFix exclusive reference obtained from shared reference4e4ef87update changelog with PR changes723ca07add AsPrimitive impls: from and to self, from and to usize and isize0389edfAddimpl Negfor referencesf8a4b83bump rustc min to 1.58005ad4eallow uninit_vec clippy lint for nowce0279callow uninit_vec clippy lint for now37ed710added #[must_use] attributes- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
error: package `half v2.0.0` cannot be built because it requires rustc 1.58 or newer, while the currently active rustc version is 1.56.0
A newer version of half exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
@dependabot recreate
Superseded by #3912.