1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 16:02:39 +01:00

sys-process/mission-center: remove 0.3.3, merge rust CRATES variable

This commit is contained in:
2024-01-13 19:06:53 +01:00
parent 119dde8246
commit 2c85ddaf14
5 changed files with 90 additions and 821 deletions

View File

@@ -1,11 +0,0 @@
diff -dNur a/src/sys_info_v2/gatherer/src/platform/linux/gpu_info/mod.rs b/src/sys_info_v2/gatherer/src/platform/linux/gpu_info/mod.rs
--- a/src/sys_info_v2/gatherer/src/platform/linux/gpu_info/mod.rs 2023-10-13 10:35:44.000000000 +0200
+++ b/src/sys_info_v2/gatherer/src/platform/linux/gpu_info/mod.rs 2023-10-13 21:52:45.972806232 +0200
@@ -28,6 +28,7 @@
lazy_static! {
static ref INIT_NVTOP: () = unsafe {
nvtop::init_extract_gpuinfo_amdgpu();
+ nvtop::init_extract_gpuinfo_intel();
nvtop::init_extract_gpuinfo_nvidia();
};
}

View File

@@ -1,14 +0,0 @@
diff -dNur a/src/sys_info_v2/gatherer/build/build.rs b/src/sys_info_v2/gatherer/build/build.rs
--- a/src/sys_info_v2/gatherer/build/build.rs 2023-10-13 10:35:44.000000000 +0200
+++ b/src/sys_info_v2/gatherer/build/build.rs 2023-10-13 21:30:34.353998585 +0200
@@ -35,9 +35,7 @@
fn prepare_third_party_sources() -> Result<Vec<std::path::PathBuf>, Box<dyn std::error::Error>> {
let third_party_path =
std::path::PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")? + "/3rdparty");
- let mut out_dir = std::env::var("OUT_DIR")?;
- out_dir.push_str("/../../native");
- std::fs::create_dir_all(&out_dir)?;
+ let out_dir = std::env::var("WORKDIR")?;
let out_dir = std::path::PathBuf::from(out_dir).canonicalize()?;
let mut result = vec![];