Commit 3c91843
committed
fix(ci): missing-docs in framebuffer.rs + clippy/rustfmt for 1.94.0 toolchain
CI fixes for PR #113:
1. native-backend (missing_docs) — added doc comments for 11 public items
in src/hpc/framebuffer.rs: Framebuffer.{width,height,tier},
WobbleState::new, FireState::new, FlybyFrame.{cam_x,cam_y,cam_zoom},
FlybyCache.{frames,height,len,is_empty}, PyramidShader::new.
2. clippy + format — rust-toolchain.toml pins 1.94.0, but the CI jobs
install clippy/rustfmt only for the matrix `stable` toolchain. Added
explicit `rustup component add ... --toolchain 1.94.0` step (with
`|| true` so it doesn't fail if already installed) so cargo can find
the components when it resolves the pinned toolchain.
Pre-existing failures NOT addressed in this PR (would balloon scope):
- nostd/thumbv6m: pre-existing unused-import warnings under -D warnings
- cross_test/s390x: pre-existing endianness/cross-compile issues
These fail on origin/master too and are not caused by this PR's changes.
https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh1 parent 5bc7903 commit 3c91843
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
| 113 | + | |
112 | 114 | | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
| 557 | + | |
554 | 558 | | |
555 | 559 | | |
556 | 560 | | |
| |||
613 | 617 | | |
614 | 618 | | |
615 | 619 | | |
| 620 | + | |
616 | 621 | | |
617 | 622 | | |
618 | 623 | | |
| |||
755 | 760 | | |
756 | 761 | | |
757 | 762 | | |
758 | | - | |
| 763 | + | |
759 | 764 | | |
| 765 | + | |
760 | 766 | | |
| 767 | + | |
761 | 768 | | |
762 | 769 | | |
763 | 770 | | |
764 | 771 | | |
765 | 772 | | |
| 773 | + | |
766 | 774 | | |
767 | 775 | | |
768 | 776 | | |
769 | | - | |
| 777 | + | |
770 | 778 | | |
| 779 | + | |
771 | 780 | | |
772 | 781 | | |
773 | 782 | | |
| |||
843 | 852 | | |
844 | 853 | | |
845 | 854 | | |
| 855 | + | |
846 | 856 | | |
847 | 857 | | |
848 | 858 | | |
| 859 | + | |
849 | 860 | | |
850 | 861 | | |
851 | 862 | | |
| |||
1114 | 1125 | | |
1115 | 1126 | | |
1116 | 1127 | | |
| 1128 | + | |
1117 | 1129 | | |
1118 | 1130 | | |
1119 | 1131 | | |
| |||
0 commit comments