diff --git a/.github/workflows/generate-executable.yml b/.github/workflows/generate-executable.yml index 28b62b5..931ad23 100755 --- a/.github/workflows/generate-executable.yml +++ b/.github/workflows/generate-executable.yml @@ -80,10 +80,6 @@ jobs: - armv7-unknown-linux-gnueabihf - i586-unknown-linux-gnu - i686-unknown-linux-gnu - - mips-unknown-linux-gnu - - mips64-unknown-linux-gnuabi64 - - mips64el-unknown-linux-gnuabi64 - - mipsel-unknown-linux-gnu - powerpc-unknown-linux-gnu - powerpc64-unknown-linux-gnu - powerpc64le-unknown-linux-gnu @@ -99,7 +95,7 @@ jobs: run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} - name: Install cross-compilation tools - uses: Asthowen/setup-cross-toolchain-action@main + uses: taiki-e/setup-cross-toolchain-action@v1 with: target: ${{ matrix.target }} if: matrix.target != 'i686-unknown-linux-musl' && matrix.target != 'x86_64-unknown-linux-musl' diff --git a/src/system/infos.rs b/src/system/infos.rs index 7005d9a..7ee8a4f 100755 --- a/src/system/infos.rs +++ b/src/system/infos.rs @@ -1046,6 +1046,9 @@ impl Infos { } pub fn get_gpu(&self) -> Vec { + #[cfg(target_os = "macos")] + return Vec::default(); + #[cfg(all(not(target_os = "windows"), not(target_os = "macos")))] { let gpu_cmd: String = match Command::new("lspci").args(["-mm"]).output() {