Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Fails to build on Windows #18

Description

@dacobo

My team is currently getting the following build error when trying to attach this plugin:

error[E0433]: failed to resolve: could not find `Graphics` in `Win32`
  --> ...\tauri-plugin-theme-2.1.1\src\platform\windows.rs:52:13
   |
52 |             Graphics::Dwm::{DwmSetWindowAttribute, DWMWA_USE_IMMERSIVE_DARK_MODE},
   |             ^^^^^^^^ could not find `Graphics` in `Win32`
   |
note: found an item that was configured out
  --> ...\windows-0.58.0\src\Windows\Win32\mod.rs:14:9
   |
14 | pub mod Graphics;
   |         ^^^^^^^^
   = note: the item is gated behind the `Win32_Graphics` feature

Environment info:
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 Build 22631
RustC / Cargo version: 1.78.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions