-
Notifications
You must be signed in to change notification settings - Fork 219
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
fix: immediately fail to compile on 32-bit systems #5237
fix: immediately fail to compile on 32-bit systems #5237
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While testing a full build on a 32-bit Xubuntu 18.04 VM failed for different reasons, attempting to compile the individual libraries from this PR fails on each with the expected message.
Would it be more prudent to fail builds on anything not 64 bit, rather than only on 32 bit? |
If you get rustc running on an Apple ][ You deserve a fricken medal, not an error message! |
9d2394e
to
6c645f2
Compare
6c645f2
to
ed4cda0
Compare
Makes sense, I created a macro so that if we want to change the message/conditional we can do that in one place. Also added a medal 🤣 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
I think for now this is the correct approach, limit the end-user applications. |
### ⚠ BREAKING CHANGES * **wallet:** ensure burn shared keys and hashes match dan layer (5245) * add claim public key to OutputFeatures (5239) * reset esmeralda (5247) ### Features * add claim public key to OutputFeatures ([5239](#5239)) ([3e7d82c](3e7d82c)) * reset esmeralda ([5247](#5247)) ([aa2a3ad](aa2a3ad)) ### Bug Fixes * added transaction revalidation to the wallet startup sequence [5227](#5227) ([5246](#5246)) ([7b4e2d2](7b4e2d2)) * immediately fail to compile on 32-bit systems ([5237](#5237)) ([76aeed7](76aeed7)) * **wallet:** correct change checks in transaction builder ([5235](#5235)) ([768a0cf](768a0cf)) * **wallet:** ensure burn shared keys and hashes match dan layer ([5245](#5245)) ([024ce64](024ce64)) * windows path format in log4rs files ([5234](#5234)) ([acfecfb](acfecfb))
Description
Fail to compile on 32-bit architectures
Motivation and Context
32-bit architectures are untested. Depending on the application, it may not compile already or there could be various classes of bugs (overflows, crashes, etc). This PR explicitly fails compilation to 32-bit targets for all applications.
How Has This Been Tested?
CI