Skip to content

Commit bfd899d

Browse files
committed
liballoc: Mention issue 51540 instead of PR 51607 (which might end up closed)
1 parent 8189a0f commit bfd899d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

text/0000-liballoc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ Blockers for doing so on stable Rust are diminishing:
3131

3232
* [The `#[global_allocator]` attribute][global_allocator] to specify an allocator
3333
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.
3737

3838
With this, the only allocation-related blocker is being able to import `Vec` in the first place.
3939
This RFC proposes stabilizing the current unstable way to do it: `extern crate alloc;`
4040

4141
[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
4343

4444
## Use case 2: making stable libraries `no_std`
4545

0 commit comments

Comments
 (0)