Merge pull request #33 from clash-lang/bumpy-wumpy-clashy-washy #261
GitHub Actions / clippy
succeeded
Apr 9, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.67.1 (d5a82bbd2 2023-02-07)
- cargo 1.67.1 (8ecd4f20a 2023-01-10)
- clippy 0.1.67 (d5a82bb 2023-02-07)
Annotations
Check warning on line 25 in clash-vexriscv-sim/test-programs/src/bin/print_a.rs
github-actions / clippy
empty `loop {}` wastes CPU cycles
warning: empty `loop {}` wastes CPU cycles
--> clash-vexriscv-sim/test-programs/src/bin/print_a.rs:25:5
|
25 | loop {}
| ^^^^^^^
|
= help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
= note: `#[warn(clippy::empty_loop)]` on by default
Check warning on line 25 in clash-vexriscv-sim/test-programs/src/bin/print_b.rs
github-actions / clippy
empty `loop {}` wastes CPU cycles
warning: empty `loop {}` wastes CPU cycles
--> clash-vexriscv-sim/test-programs/src/bin/print_b.rs:25:5
|
25 | loop {}
| ^^^^^^^
|
= help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
= note: `#[warn(clippy::empty_loop)]` on by default
Loading