File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/tmp/src/liballoc Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 84f760b50a04d2a7f1b7c6128e273084e2a8ffb0
37
+ refs/heads/tmp: 61e690405a397130d0ffad5bfdcaf7897883b8a2
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
39
39
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
40
40
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ pub unsafe fn allocate(size: usize, align: usize) -> *mut u8 {
26
26
///
27
27
/// On failure, return a null pointer and leave the original allocation intact.
28
28
///
29
+ /// If the allocation was relocated, the memory at the passed-in pointer is
30
+ /// undefined after the call.
31
+ ///
29
32
/// Behavior is undefined if the requested size is 0 or the alignment is not a
30
33
/// power of 2. The alignment must be no larger than the largest supported page
31
34
/// size on the platform.
You can’t perform that action at this time.
0 commit comments