|
|
@ -82,7 +82,7 @@ Either way, the contents of `utils.rs` define a single public function `set_pani |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```rust |
|
|
|
```rust |
|
|
|
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global |
|
|
|
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global |
|
|
|
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global // allocator. |
|
|
|
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global // allocator. |
|
|
|
// allocator. #[cfg(feature = "wee_alloc")] |
|
|
|
// allocator. #[cfg(feature = "wee_alloc")] |
|
|
|
if #[cfg(feature = "wee_alloc")] { #[global_allocator] |
|
|
|
if #[cfg(feature = "wee_alloc")] { #[global_allocator] |
|
|
|