You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a lot of things are gated on `cfg(target_arch = "x86")`, which
is used to indicate systems with 32-bit words. Apply the following
changes to make this less specific:
* Replace x86-32 configuration with configuration based on
`target_pointer_width`.
* Where possible, replace `#[cfg]` with `cfg!` or eliminate the check,
to increase the percentage of code that gets validated on any
platform.
* Remove some configuration that was unneeded, for the same reason. This
includes things like `#[cfg(target_arch = "x86")]` on comparisons to
`EXPONENT_MIN` or `EXPONENT_MAX`. The checks are only useful on 32-bit
platforms, but this is a trivial compiler optimization so not much is
gained by keeping the config.
I have verified that the crate builds on armv7 targets (but have not
tested).
Fixes: #26
0 commit comments