Update README.md

This commit is contained in:
Andre Richter 2019-10-21 21:48:19 +02:00 committed by Andre Richter
parent a507bba9da
commit ebebf23851
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

View File

@ -39,6 +39,17 @@ you can check out implemntations in the [spin crate] or the [parking lot crate].
[spin crate]: https://github.com/mvdnes/spin-rs
[parking lot crate]: https://github.com/Amanieu/parking_lot
### Give it a try
```console
make qemu
[...]
[0] Hello from pure Rust!
[1] Chars written: 26
[2] Stopping here.
```
## Diff to previous
```diff
@ -159,7 +170,8 @@ diff -uNr 04_zero_overhead_abstraction/src/bsp/rpi.rs 05_safe_globals/src/bsp/rp
+ // Convert newline to carrige return + newline.
+ if c == '
' {
+ self.write_char(' ')
+ self.write_char('
')
}
+
+ self.write_char(c);