Closed netshade closed 2 years ago
( This came about because I was compiling for wasm32-unknown-unknown
- on other architectures it worked as expected )
( After looking at the template some more I see that this definitely is not quite so simple as that. Are the semantics of the parser more or less locked in at "everything must be word sized which is also 64 bits", or is it possible to be explicit that everything is 64 bits here? )
I was attempting to compile a lexer generated w/ the Rust backend, and I got the following errors on my tokens:
I think this is because the template portion that is doing a bitset emulation of the Antlr code is presuming that
1usize
is 64-bit width trying to match the original implementation?.If my understanding here is correct, should it be that the template is instead masking with
1u64
instead ? Happy to provide a PR if this is right.