Rollup merge of #49618 - pftbest:fix_warning, r=SimonSapin
Fix build error when compiling libcore for 16bit targets Fixes #49617 cc @SimonSapin
This commit is contained in:
commit
ce5db0f887
@ -488,6 +488,7 @@ macro_rules! try_from_unbounded {
|
||||
}
|
||||
|
||||
// unsigned to signed (only positive bound)
|
||||
#[cfg(any(target_pointer_width = "32", target_pointer_width = "64"))]
|
||||
macro_rules! try_from_upper_bounded {
|
||||
($($target:ty),*) => {$(
|
||||
impl PrivateTryFromUsize for $target {
|
||||
|
Loading…
Reference in New Issue
Block a user