Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on windows #448

Closed
Niproblema opened this issue Oct 6, 2024 · 0 comments
Closed

Build fails on windows #448

Niproblema opened this issue Oct 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Niproblema
Copy link

Bug description

  • Would you like to work on a fix? [y/n] n

To Reproduce

Steps to reproduce the behavior:

  1. cargo install espup

Expected behavior

Successful build

Screenshots

Environment

  • OS: Windows 10, rust 1.81
  • espup version: 0.12.2

Additional context

   Compiling hmac v0.12.1
error[E0432]: unresolved import `windows_sys::Win32::System::SystemInformation`
    |
181 |     use windows_sys::Win32::System::SystemInformation::OSVERSIONINFOW;
    |                                     ^^^^^^^^^^^^^^^^^ could not find `SystemInformation` in `System`
    |
note: found an item that was configured out
   --> C:\Users\x\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.59.0\src\Windows\Win32\System\mod.rs:114:9
    |
114 | pub mod SystemInformation;
    |         ^^^^^^^^^^^^^^^^^
note: the item is gated behind the `Win32_System_SystemInformation` feature
   --> C:\Users\x\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.59.0\src\Windows\Win32\System\mod.rs:113:7
    |
113 | #[cfg(feature = "Win32_System_SystemInformation")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   Compiling webpki-roots v0.26.6
   Compiling simd-adler32 v0.3.7
   Compiling smawk v0.3.2
   Compiling num-conv v0.1.0
   Compiling unicode-width v0.1.14
For more information about this error, try `rustc --explain E0432`.
error: could not compile `schannel` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `espup v0.12.1`,
@Niproblema Niproblema added the bug Something isn't working label Oct 6, 2024
@github-project-automation github-project-automation bot moved this to Todo in esp-rs Oct 6, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant