-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Windows Error installation #269
Comments
As a workaround, here is what you can do:
Because now it downloads HTTP redirect page now, the link has to be updated.
|
I'm in the middle of updating the CD pipeline to automate everything, after which a new release will be published. Meanwhile you can try compiling |
current stable rust version
it would be best if we had a scoop package like other tools made in rust!
error[E0793]: reference to packed field is unaligned --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.7\src\ntexapi.rs:2783:52 | 2783 | *tick_count.QuadPart_mut() = read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use
read_unaligned/
write_unaligned(loads and stores via
*p` must be properly aligned even when using raw pointers)error[E0793]: reference to packed field is unaligned
--> C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.7\src\ntexapi.rs:2807:25
|
2807 | ((read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use
read_unaligned
/write_unaligned
(loads and stores via*p
must be properly aligned even when using raw pointers)For more information about this error, try
rustc --explain E0793
.error: could not compile
ntapi
(lib) due to 2 previous errorswarning: build failed, waiting for other jobs to finish...
error: failed to compile
bandwhich v0.20.0
, intermediate artifacts can be found at `C:\Users\ADMINI~1\AppData\Local\Temp\cargo-installE7HHMG``The text was updated successfully, but these errors were encountered: