Skip to content

Commit 572fabd

Browse files
authored
Rollup merge of #49618 - pftbest:fix_warning, r=SimonSapin
Fix build error when compiling libcore for 16bit targets Fixes #49617 cc @SimonSapin
2 parents 480f3bf + f5c4265 commit 572fabd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/iter/range.rs

+1
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ macro_rules! try_from_unbounded {
488488
}
489489

490490
// unsigned to signed (only positive bound)
491+
#[cfg(any(target_pointer_width = "32", target_pointer_width = "64"))]
491492
macro_rules! try_from_upper_bounded {
492493
($($target:ty),*) => {$(
493494
impl PrivateTryFromUsize for $target {

0 commit comments

Comments
 (0)