dtolnay / watt

Runtime for executing procedural macros as WebAssembly
Apache License 2.0
1.25k stars 29 forks source link

Fix overflow during validation on 32-bit machines. #9

Closed msizanoen1 closed 4 years ago

msizanoen1 commented 4 years ago

When testing this on a 32 bit machine, I observed the proc macro panic because of left shift overflow during validation. This PR fix overflow during validation on 32-bit machines.

dtolnay commented 4 years ago

Published in 0.1.2.