no_std_compat/
generated.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
//! Generated by generate.py located at the repository root
//! ./generate.py > src/generated.rs
pub mod alloc {
    pub use __core::alloc::*;
    #[cfg(feature = "alloc")] pub use __alloc::alloc::*;
}
pub mod any {
    pub use __core::any::*;
}
pub mod arch {
    pub use __core::arch::*;
}
pub mod array {
    pub use __core::array::*;
}
pub mod ascii {
    pub use __core::ascii::*;
}
pub mod borrow {
    pub use __core::borrow::*;
    #[cfg(feature = "alloc")] pub use __alloc::borrow::*;
}
pub mod boxed {
    #[cfg(feature = "alloc")] pub use __alloc::boxed::*;
}
pub mod cell {
    pub use __core::cell::*;
}
pub mod char {
    pub use __core::char::*;
}
pub mod clone {
    pub use __core::clone::*;
}
pub mod cmp {
    pub use __core::cmp::*;
}
pub mod collections {
    #[cfg(feature = "alloc")] pub use __alloc::collections::*;
    #[cfg(all(feature = "alloc", feature = "compat_hash"))] pub use hashbrown::HashMap;
    #[cfg(all(feature = "alloc", feature = "compat_hash"))] pub use hashbrown::HashSet;
}
pub mod convert {
    pub use __core::convert::*;
}
pub mod default {
    pub use __core::default::*;
}
pub mod f32 {
    pub use __core::f32::*;
}
pub mod f64 {
    pub use __core::f64::*;
}
pub mod ffi {
    pub use __core::ffi::*;
}
pub mod fmt {
    pub use __core::fmt::*;
    #[cfg(feature = "alloc")] pub use __alloc::fmt::*;
}
pub mod future {
    pub use __core::future::*;
}
pub mod hash {
    pub use __core::hash::*;
}
pub mod hint {
    pub use __core::hint::*;
}
pub mod i128 {
    pub use __core::i128::*;
}
pub mod i16 {
    pub use __core::i16::*;
}
pub mod i32 {
    pub use __core::i32::*;
}
pub mod i64 {
    pub use __core::i64::*;
}
pub mod i8 {
    pub use __core::i8::*;
}
pub mod intrinsics {
    #[cfg(feature = "unstable")] pub use __core::intrinsics::*;
}
pub mod isize {
    pub use __core::isize::*;
}
pub mod iter {
    pub use __core::iter::*;
}
pub mod marker {
    pub use __core::marker::*;
}
pub mod mem {
    pub use __core::mem::*;
}
pub mod num {
    pub use __core::num::*;
}
pub mod ops {
    pub use __core::ops::*;
}
pub mod option {
    pub use __core::option::*;
}
pub mod panic {
    #[cfg(feature = "unstable")] pub use __core::panic::*;
}
pub mod panicking {
    #[cfg(feature = "unstable")] pub use __core::panicking::*;
}
pub mod pin {
    pub use __core::pin::*;
}
pub mod prelude {
    pub mod v1 {
        // Prelude
        pub use __core::prelude::v1::*;
        #[cfg(all(feature = "alloc", feature = "unstable"))]
        pub use __alloc::prelude::v1::*;
        #[cfg(all(feature = "alloc", not(feature = "unstable")))]
        pub use __alloc::{
            borrow::ToOwned,
            boxed::Box,
            // UNSTABLE: slice::SliceConcatExt,
            string::String,
            string::ToString,
            vec::Vec,
        };

        // Other imports
        #[cfg(feature = "alloc")]
        pub use __alloc::{format, vec};
        #[cfg(feature = "compat_macros")]
        pub use crate::{print, println, eprint, eprintln, dbg};
    }
}
pub mod primitive {
    pub use __core::primitive::*;
}
pub mod ptr {
    pub use __core::ptr::*;
}
pub mod raw {
    #[cfg(feature = "unstable")] pub use __core::raw::*;
}
pub mod raw_vec {
    #[cfg(all(feature = "alloc", feature = "unstable"))] pub use __alloc::raw_vec::*;
}
pub mod rc {
    #[cfg(feature = "alloc")] pub use __alloc::rc::*;
}
pub mod result {
    pub use __core::result::*;
}
pub mod slice {
    pub use __core::slice::*;
    #[cfg(feature = "alloc")] pub use __alloc::slice::*;
}
pub mod str {
    pub use __core::str::*;
    #[cfg(feature = "alloc")] pub use __alloc::str::*;
}
pub mod string {
    #[cfg(feature = "alloc")] pub use __alloc::string::*;
}
pub mod sync {
    pub use __core::sync::*;
    #[cfg(feature = "alloc")] pub use __alloc::sync::*;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::Mutex;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::MutexGuard;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::Once;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::RwLock;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::RwLockReadGuard;
    #[cfg(all(feature = "alloc", feature = "compat_sync"))] pub use spin::RwLockWriteGuard;
}
pub mod task {
    pub use __core::task::*;
    #[cfg(all(feature = "alloc", feature = "unstable"))] pub use __alloc::task::*;
}
pub mod time {
    pub use __core::time::*;
}
pub mod u128 {
    pub use __core::u128::*;
}
pub mod u16 {
    pub use __core::u16::*;
}
pub mod u32 {
    pub use __core::u32::*;
}
pub mod u64 {
    pub use __core::u64::*;
}
pub mod u8 {
    pub use __core::u8::*;
}
pub mod unicode {
    #[cfg(feature = "unstable")] pub use __core::unicode::*;
}
pub mod usize {
    pub use __core::usize::*;
}
pub mod vec {
    #[cfg(feature = "alloc")] pub use __alloc::vec::*;
}