diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-02 23:52:10 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-02 23:52:10 +0000 |
commit | 72b91a061372225f111a8589b675a7eeb6d7c608 (patch) | |
tree | b1d1e33a5481ce3514ad0c1223133157acc85d74 /changelog.md | |
parent | 34ea614905edd318271c229b9acf70796f9a7719 (diff) | |
parent | eb498abc8864e5fbcd1ae9b7e2e635be40b07439 (diff) | |
download | bytemuck-72b91a061372225f111a8589b675a7eeb6d7c608.tar.gz |
Snap for 11400057 from eb498abc8864e5fbcd1ae9b7e2e635be40b07439 to simpleperf-releasesimpleperf-release
Change-Id: I58624d3858e4188d4a3418840e33d0fcbfc41fd6
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 0dff0c2..e890764 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,23 @@ # `bytemuck` changelog
+## 1.14.1
+
+* docs clarifications.
+
+## 1.14
+
+* `write_zeroes` and `fill_zeroes` functions: Writes (to one) or fills (a slice)
+ zero bytes to all bytes covered by the provided reference. If your type has
+ padding, this will even zero out the padding bytes.
+* `align_offset` feature: causes pointer alignment checks to use the
+ `align_offset` pointer method rather than as-casting the pointer to `usize`.
+ This *may* improve codegen, if the compiler would have otherwise thought that
+ the pointer address escaped. No formal benchmarks have been done either way.
+* `must_cast` feature: Adds `must_*` family of functions. These functions will
+ fail to compile if the cast requested can't be statically known to succeed.
+ The error messages can be kinda bad when this happens, but eliminating the
+ possibility of a runtime error might be worth it to you.
+
## 1.13.1
* Remove the requirement for the *source* data type to be `AnyBitPattern` on
|