@@ -27,36 +27,46 @@ pub mod __core {
27
27
28
28
extern "Rust" {
29
29
#[ allocator]
30
+ #[ rustc_allocator_nounwind]
30
31
fn __rust_alloc ( size : usize , align : usize , err : * mut u8 ) -> * mut u8 ;
31
32
#[ cold]
33
+ #[ rustc_allocator_nounwind]
32
34
fn __rust_oom ( err : * const u8 ) -> !;
35
+ #[ rustc_allocator_nounwind]
33
36
fn __rust_dealloc ( ptr : * mut u8 , size : usize , align : usize ) ;
37
+ #[ rustc_allocator_nounwind]
34
38
fn __rust_usable_size ( layout : * const u8 ,
35
39
min : * mut usize ,
36
40
max : * mut usize ) ;
41
+ #[ rustc_allocator_nounwind]
37
42
fn __rust_realloc ( ptr : * mut u8 ,
38
43
old_size : usize ,
39
44
old_align : usize ,
40
45
new_size : usize ,
41
46
new_align : usize ,
42
47
err : * mut u8 ) -> * mut u8 ;
48
+ #[ rustc_allocator_nounwind]
43
49
fn __rust_alloc_zeroed ( size : usize , align : usize , err : * mut u8 ) -> * mut u8 ;
50
+ #[ rustc_allocator_nounwind]
44
51
fn __rust_alloc_excess ( size : usize ,
45
52
align : usize ,
46
53
excess : * mut usize ,
47
54
err : * mut u8 ) -> * mut u8 ;
55
+ #[ rustc_allocator_nounwind]
48
56
fn __rust_realloc_excess ( ptr : * mut u8 ,
49
57
old_size : usize ,
50
58
old_align : usize ,
51
59
new_size : usize ,
52
60
new_align : usize ,
53
61
excess : * mut usize ,
54
62
err : * mut u8 ) -> * mut u8 ;
63
+ #[ rustc_allocator_nounwind]
55
64
fn __rust_grow_in_place ( ptr : * mut u8 ,
56
65
old_size : usize ,
57
66
old_align : usize ,
58
67
new_size : usize ,
59
68
new_align : usize ) -> u8 ;
69
+ #[ rustc_allocator_nounwind]
60
70
fn __rust_shrink_in_place ( ptr : * mut u8 ,
61
71
old_size : usize ,
62
72
old_align : usize ,
0 commit comments