mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-14 22:55:42 +00:00
refactor: move GPU collection files around (#2231)
No functionality change, this just rearranges the file structure a bit.
This commit is contained in:
+4
-5
@@ -2,11 +2,10 @@
|
||||
//!
|
||||
//! TODO: Rename this to intake? Collection?
|
||||
|
||||
#[cfg(feature = "nvidia")]
|
||||
pub mod nvidia;
|
||||
|
||||
#[cfg(all(target_os = "linux", feature = "gpu"))]
|
||||
pub mod amd;
|
||||
#[cfg(feature = "gpu")]
|
||||
pub mod gpu;
|
||||
#[cfg(feature = "gpu")]
|
||||
pub use gpu::*;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
mod linux {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#[cfg(feature = "nvidia")]
|
||||
pub mod nvidia;
|
||||
|
||||
#[cfg(all(target_os = "linux", feature = "gpu"))]
|
||||
pub mod amd;
|
||||
Reference in New Issue
Block a user