This bugfix makes the crate do stuff with Arc or not based on the
target_has_atomic config. Previously, some targets that have allocation but
not atomics were getting errors. This raises the MSRV of the
extern_crate_alloc feature to 1.60, but opt-in features are not considered
to be hard locked to 1.34 like the basic build of the crate is.
1.12.2
Fixes try_pod_read_unaligned bug that made it always fail unless the target
type was exactly pointer sized in which case UB could happen. The
CheckedBitPattern::is_valid_bit_pattern was being asked to check that a
reference to the pod value was a valid bit pattern, rather than the actual
bit pattern itself, and so the check could in some cases be illegally
bypassed.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps bytemuck from 1.12.1 to 1.12.3.
Changelog
Sourced from bytemuck's changelog.
Commits
06a6231
(cargo-release) version 1.12.346e816c
changelog.5c9d81c
(cargo-release) version 1.3.086226ce
changelog.02021fb
Conditionally compile inArc
(#140)518baf9
Allowrepr(transparent)
to be used generically inderive(Pod)
(#139)7b67524
(cargo-release) version 1.12.2579950f
changelog12f5bfd
clippy you are often a pain in my buttf157151
fixtry_pod_read_unaligned
... never having worked correctly (#138)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)