Commit b14d4df
The crate-root pub use lines in host/mod.rs re-export the host-driver API for
external consumers; the binary's own non-test build does not consume them, so
they emit 42 unused_imports warnings. Add a single module-scoped
cfg_attr(not(test), allow(unused_imports)) documenting the intentional facade,
without removing any export. Non-test warnings drop 726 -> 685.
Closes #1111
Co-authored-by: gHashTag <admin@t27.ai>
1 parent 9c5dae6 commit b14d4df
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
| |||
0 commit comments