Skip to content

Commit

Permalink
bugfix: Remove 128-bit value generator
Browse files Browse the repository at this point in the history
128-bit targets are apparently not supported by Rust yet, and this is
causing an error to be raised.

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Jul 31, 2024
1 parent 7e60c7f commit d05504d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,14 +619,6 @@ impl Rng {
gen_mod_u64,
"Generates a random `usize` in the given range."
);
#[cfg(target_pointer_width = "128")]
rng_integer!(
usize,
usize,
gen_u128,
gen_mod_u128,
"Generates a random `usize` in the given range."
);

/// Generates a random `char` in range A-Z.
#[inline]
Expand Down

0 comments on commit d05504d

Please sign in to comment.