Commit 93c2991
authored
Fix doc link and make CI lints stricter (#272)
* cstr16: fix rustdoc warning in as_str_in_buf docstring
* ci: run "cargo doc" and treat warnings as errors
This can catch some issues like broken links in docstrings.
* ci: treat clippy warnings as errors
This makes the CI actually fail instead of just putting warning
annotations in the source.
* ci: enable more features in tests
For clippy and rustdoc, add `--all-features` to cover more code.
For `cargo test`, enable just the `exts` feature (the `alloc` and
`logger` features can't be enabled because we're not running under UEFI
here).1 parent 4811cab commit 93c2991
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
0 commit comments