Skip to content

Commit 3f5f75f

Browse files
authored
Merge pull request #39 from rust-embedded/ci-fix
CI: fix failures
2 parents b70ffa8 + 50bfe96 commit 3f5f75f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
File renamed without changes.

src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ## TL;DR
1111
//!
12-
//! ```rust
12+
//! ```ignore
1313
//! use qemu_exit::QEMUExit;
1414
//!
1515
//! #[cfg(target_arch = "aarch64")]
@@ -38,31 +38,31 @@
3838
//!
3939
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
4040
//!
41-
//! ```
41+
//! ```bash
4242
//! qemu-system-aarch64 -M raspi3 -serial stdio -semihosting -kernel kernel8.img
4343
//! ```
4444
//!
4545
//! ### AArch32
4646
//!
4747
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
4848
//!
49-
//! ```
49+
//! ```bash
5050
//! qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel kernel.img
5151
//! ```
5252
//!
5353
//! ### RISCV64
5454
//!
5555
//! You need to chose a machine with the `sifive_test` device, for exemple `-M virt`:
5656
//!
57-
//! ```
57+
//! ```bash
5858
//! qemu-system-riscv64 -M virt -nographic -monitor none -serial stdio -kernel kernel.elf
5959
//! ```
6060
//!
6161
//! ### x86_64
6262
//!
6363
//! Add the special ISA debug exit device by passing the flags:
6464
//!
65-
//! ```
65+
//! ```bash
6666
//! -device isa-debug-exit,iobase=0xf4,iosize=0x04
6767
//! ```
6868
//!
@@ -73,7 +73,7 @@
7373
//! binary-OR'ed with `0x1`. This is hardcoded and therefore, with `isa-debug-exit`, it is not
7474
//! possible to let QEMU invoke `exit(0)`.
7575
//!
76-
//! ```rust
76+
//! ```ignore
7777
//! let qemu_exit_handle = qemu_exit::X86::new(io_base, custom_exit_success);
7878
//! ```
7979
//!

0 commit comments

Comments
 (0)