File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ Blockers for doing so on stable Rust are diminishing:
31
31
32
32
* [ The ` #[global_allocator] ` attribute] [ global_allocator ] to specify an allocator
33
33
and remove the need for an operating-system-provided one is stable since Rust 1.28.
34
- * [ PR # 51607 ] adds a fallback handling for OOM (allocation failure) conditions
35
- for when ` std ` is not available,
36
- removing the need for programs to define an unstable ` oom ` lang item themselves .
34
+ * [ Tracking issue # 51540 ] discusses how to stabilize a way to specify
35
+ the handling of OOM (allocation failure) conditions when ` std ` is not available,
36
+ instead of the unstable ` oom ` lang item.
37
37
38
38
With this, the only allocation-related blocker is being able to import ` Vec ` in the first place.
39
39
This RFC proposes stabilizing the current unstable way to do it: ` extern crate alloc; `
40
40
41
41
[ global_allocator ] : https://doc.rust-lang.org/nightly/std/alloc/#the-global_allocator-attribute
42
- [ PR #51607 ] : https://github.com/rust-lang/rust/pull/51607
42
+ [ Tracking issue #51540 ] : https://github.com/rust-lang/rust/issues/51540
43
43
44
44
## Use case 2: making stable libraries ` no_std `
45
45
You can’t perform that action at this time.
0 commit comments