Title: Build fails on armv7 musl · Issue #172 · uutils/diffutils · GitHub
Open Graph Title: Build fails on armv7 musl · Issue #172 · uutils/diffutils
X Title: Build fails on armv7 musl · Issue #172 · uutils/diffutils
Description: Build fails on Alpine Linux on armv7 with: error: literal out of range for `usize` --> src/cmp.rs:1088:30 | 1088 | skip_b: Some(1_152_921_504_606_846_976 * 2), | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the literal `1_152_921_504_606_846_976`...
Open Graph Description: Build fails on Alpine Linux on armv7 with: error: literal out of range for `usize` --> src/cmp.rs:1088:30 | 1088 | skip_b: Some(1_152_921_504_606_846_976 * 2), | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note:...
X Description: Build fails on Alpine Linux on armv7 with: error: literal out of range for `usize` --> src/cmp.rs:1088:30 | 1088 | skip_b: Some(1_152_921_504_606_846_976 * 2), | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = no...
Opengraph URL: https://github.com/uutils/diffutils/issues/172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build fails on armv7 musl","articleBody":"Build fails on Alpine Linux on armv7 with:\n\n```\nerror: literal out of range for `usize`\n --\u003e src/cmp.rs:1088:30\n |\n1088 | skip_b: Some(1_152_921_504_606_846_976 * 2),\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the literal `1_152_921_504_606_846_976` does not fit into the type `usize` whose range is `0..=4294967295`\n = note: `#[deny(overflowing_literals)]` on by default\n```\n\nI believe this is because of 32 vs 64 bit implementations of usize differing in maximum values, but I could be wrong.","author":{"url":"https://github.com/JustSoup312","@type":"Person","name":"JustSoup312"},"datePublished":"2026-02-21T03:59:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/172/diffutils/issues/172"}
| 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:3abc78cc-c529-23a2-9233-1088eb952ef9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF8C:383777:781CE39:A8DEA62:6A501F63 |
| html-safe-nonce | a2ec377e522cf37e6846507bcb55b5a21746c26abde7ec76e1edf4c3cb0e7bd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjhDOjM4Mzc3Nzo3ODFDRTM5OkE4REVBNjI6NkE1MDFGNjMiLCJ2aXNpdG9yX2lkIjoiNDQ4NDEzMDg3NzQwODgxMjg5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 89c63f3f33848f9b120877f8389eafdc765a26b9b837ef1ecb3ba48e8b54d555 |
| hovercard-subject-tag | issue:3971254349 |
| 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/uutils/diffutils/172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/845ce8d55c45f0503c7aef793990b21b65b8288f67c20e92471550e7e6d21429/uutils/diffutils/issues/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/845ce8d55c45f0503c7aef793990b21b65b8288f67c20e92471550e7e6d21429/uutils/diffutils/issues/172 |
| og:image:alt | Build fails on Alpine Linux on armv7 with: error: literal out of range for `usize` --> src/cmp.rs:1088:30 | 1088 | skip_b: Some(1_152_921_504_606_846_976 * 2), | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JustSoup312 |
| hostname | github.com |
| expected-hostname | github.com |
| None | a08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069 |
| turbo-cache-control | no-preview |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| 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 | d1b91b18e7330fc458dfd824c61eaed7daa830d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width