Title: error while compiling · Issue #556 · feather-rs/feather · GitHub
Open Graph Title: error while compiling · Issue #556 · feather-rs/feather
X Title: error while compiling · Issue #556 · feather-rs/feather
Description: after using cargo build --release in the root directory error[E0793]: reference to packed field is unaligned --> C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6\src\ntexapi.rs:2785:52 | 2785 | *tick_coun...
Open Graph Description: after using cargo build --release in the root directory error[E0793]: reference to packed field is unaligned --> C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6\sr...
X Description: after using cargo build --release in the root directory error[E0793]: reference to packed field is unaligned --> C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6...
Opengraph URL: https://github.com/feather-rs/feather/issues/556
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error while compiling","articleBody":"after using ```cargo build --release``` in the root directory\r\n\r\nerror[E0793]: reference to packed field is unaligned\r\n --\u003e C:\\Users\\Administrator\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\ntapi-0.3.6\\src\\ntexapi.rs:2785:52\r\n |\r\n2785 | *tick_count.QuadPart_mut() = read_volatile(\u0026(*USER_SHARED_DATA).u.TickCountQuad);\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n |\r\n = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)\r\n = 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)\r\n\r\nerror[E0793]: reference to packed field is unaligned\r\n --\u003e C:\\Users\\Administrator\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\ntapi-0.3.6\\src\\ntexapi.rs:2809:25\r\n |\r\n2809 | ((read_volatile(\u0026(*USER_SHARED_DATA).u.TickCountQuad)\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n |\r\n = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)\r\n = 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)\r\n\r\nFor more information about this error, try `rustc --explain E0793`.\r\nerror: could not compile `ntapi` due to 2 previous errors\r\nwarning: build failed, waiting for other jobs to finish...","author":{"url":"https://github.com/potatosips","@type":"Person","name":"potatosips"},"datePublished":"2023-05-27T17:10:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/556/feather/issues/556"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9a8e1f1-cea0-8248-691f-52d646134c3b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E02:17AEA1:D0545:10FEDB:6990921E |
| html-safe-nonce | 1e3cddf2546c43e914f5d605b57f2bf8619515b9de3cc8ae845f4a3076bea327 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTAyOjE3QUVBMTpEMDU0NToxMEZFREI6Njk5MDkyMUUiLCJ2aXNpdG9yX2lkIjoiNzAxNTkzMjEwMzE2NzYxMTQyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 699e65f303ab8344c8e5771e1cabe83065c6d9b4f65c8f60cc20aea6913fb849 |
| hovercard-subject-tag | issue:1728841921 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feather-rs/feather/556/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb036e494abac7d705a24e74184ddfd025b275827e3047be471f5793faa0871b/feather-rs/feather/issues/556 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb036e494abac7d705a24e74184ddfd025b275827e3047be471f5793faa0871b/feather-rs/feather/issues/556 |
| og:image:alt | after using cargo build --release in the root directory error[E0793]: reference to packed field is unaligned --> C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6\sr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | potatosips |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/feather-rs/feather git https://github.com/feather-rs/feather.git |
| octolytics-dimension-user_id | 54925191 |
| octolytics-dimension-user_login | feather-rs |
| octolytics-dimension-repository_id | 191701609 |
| octolytics-dimension-repository_nwo | feather-rs/feather |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 191701609 |
| octolytics-dimension-repository_network_root_nwo | feather-rs/feather |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width