Refactor wasm feature gates.
This commit is contained in:
@@ -274,7 +274,8 @@ mod number_formatting {
|
||||
to_binary(value)
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))]
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(not(target_arch = "wasm64"))]
|
||||
pub mod num_128 {
|
||||
#[rhai_fn(name = "to_hex")]
|
||||
pub fn u128_to_hex(value: u128) -> ImmutableString {
|
||||
|
Reference in New Issue
Block a user