You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Moving to systemstat has issues with portability. Broken build on NetBSD as follows,
Compiling systemstat v0.1.11
error[E0432]: unresolved import `self::platform::PlatformImpl`
--> /usr/pkgsrc/wip/starship/work/vendor/systemstat-0.1.11/src/lib.rs:18:9
|
18 | pub use self::platform::PlatformImpl as System;
| ^^^^^^^^^^^^^^^^------------^^^^^^^^^^
| | |
| | help: a similar name exists in the module: `Platform`
| no `PlatformImpl` in `platform`
error[E0412]: cannot find type `PlatformMemory` in this scope
--> /usr/pkgsrc/wip/starship/work/vendor/systemstat-0.1.11/src/data.rs:289:26
|
289 | pub platform_memory: PlatformMemory,
| ^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `PlatformSwap` in this scope
--> /usr/pkgsrc/wip/starship/work/vendor/systemstat-0.1.11/src/data.rs:319:24
|
319 | pub platform_swap: PlatformSwap,
| ^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0412, E0432.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `systemstat` due to 3 previous errors
*** Error code 101
Supported platforms (roughly ordered by completeness of support):
FreeBSD
Linux
OpenBSD
Windows
macOS
more coming soon
😞
The text was updated successfully, but these errors were encountered:
I think memory/swap support for netbsd would be straightforward to implement in systemstat. Furthermore, unimplemented functions return an error in systemstat, so it should also be possible to add a dummy NetBSD implementation that could even re-use some of the implementations with other bsds.
Hi,
Moving to
systemstat
has issues with portability. Broken build on NetBSD as follows,😞
The text was updated successfully, but these errors were encountered: