Open tgross35 opened 7 months ago
The code https://github.com/stencillogic/astro-float/blob/891843d8341d032f889f1b77077dd7ceb05b7a01/astro-float-num/src/defs.rs#L11-L33 has a lot of code that is configured based on x86 or not(x86). Is there a reason that x86 is special, or could this instead use #[cfg(target_pointer_width = 64)]/#[cfg(target_pointer_width = 32)]?
x86
not(x86)
#[cfg(target_pointer_width = 64)]
#[cfg(target_pointer_width = 32)]
Basically, the library only supports x64 and x86. Hence it uses just x86 and not(x86) here and there. It was tested for ARM once, but in general ARM is not supported at the moment.
The code https://github.com/stencillogic/astro-float/blob/891843d8341d032f889f1b77077dd7ceb05b7a01/astro-float-num/src/defs.rs#L11-L33 has a lot of code that is configured based on
x86
ornot(x86)
. Is there a reason that x86 is special, or could this instead use#[cfg(target_pointer_width = 64)]
/#[cfg(target_pointer_width = 32)]
?