1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-20 21:18:26 +02:00

no_std examples won't build in mdbook test.

This commit is contained in:
Andrew Walbran 2023-02-01 17:35:20 +00:00
parent 8e009b9674
commit d84c93010a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
To use `alloc` you must implement a global (heap) allocator.
```rust,editable
```rust,editable,compile_fail
{{#include alloc-example/src/main.rs:Alloc}}
```

View File

@ -1,6 +1,6 @@
# A minimal `no_std` program
```rust,editable
```rust,editable,compile_fail
#![no_main]
#![no_std]