File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ v0.7.3] - 2021-07-1
11
+
12
+ ### Changed
13
+
14
+ - ` Box::freeze ` is deprecated due to possibility of undefined behavior.
15
+
10
16
## [ v0.7.2] - 2021-06-30
11
17
12
18
### Added
@@ -365,7 +371,8 @@ architecture.
365
371
366
372
- Initial release
367
373
368
- [ Unreleased ] : https://github.com/japaric/heapless/compare/v0.7.2...HEAD
374
+ [ Unreleased ] : https://github.com/japaric/heapless/compare/v0.7.3...HEAD
375
+ [ v0.7.3 ] : https://github.com/japaric/heapless/compare/v0.7.2...v0.7.3
369
376
[ v0.7.2 ] : https://github.com/japaric/heapless/compare/v0.7.1...v0.7.2
370
377
[ v0.7.1 ] : https://github.com/japaric/heapless/compare/v0.7.0...v0.7.1
371
378
[ v0.7.0 ] : https://github.com/japaric/heapless/compare/v0.6.1...v0.7.0
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ keywords = ["static", "no-heap"]
12
12
license = " MIT OR Apache-2.0"
13
13
name = " heapless"
14
14
repository = " https://github.com/japaric/heapless"
15
- version = " 0.7.2 "
15
+ version = " 0.7.3 "
16
16
17
17
[features ]
18
18
default = [" cas" ]
Original file line number Diff line number Diff line change @@ -123,7 +123,11 @@ where
123
123
P : Pool ,
124
124
P :: Data : AsRef < [ u8 ] > ,
125
125
{
126
- /// Freezes the contents of this memory block
126
+ #[ deprecated(
127
+ since = "0.7.3" ,
128
+ note = "This can access uninitialized memory, use `init(..)` instead (https://github.com/japaric/heapless/issues/212)"
129
+ ) ]
130
+ /// (DO NOT USE, SEE DEPRECATION) Freezes the contents of this memory block
127
131
///
128
132
/// See [rust-lang/rust#58363](https://github.com/rust-lang/rust/pull/58363) for details.
129
133
pub fn freeze ( self ) -> Box < P , Init > {
Original file line number Diff line number Diff line change 1
1
//! Fixed capacity Single Producer Single Consumer (SPSC) queue
2
2
//!
3
- //! Implementation based on https://www.codeproject.com/Articles/43510/Lock-Free-Single-Producer-Single-Consumer-Circular
3
+ //! Implementation based on < https://www.codeproject.com/Articles/43510/Lock-Free-Single-Producer-Single-Consumer-Circular>
4
4
//!
5
5
//! NOTE: This module is not available on targets that do *not* support atomic loads, e.g. RISC-V
6
6
//! cores w/o the A (Atomic) extension
You can’t perform that action at this time.
0 commit comments