mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-22 13:47:21 +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:
1 parent
f9e1703727
commit
fe79718e17
5 files changed
+9
-5
No files matched your search
+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;
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user