Skip to content

Commit e4f96d5

Browse files
committed
Auto merge of rust-lang#94738 - Urgau:rustbuild-check-cfg-values, r=Mark-Simulacrum
Enable conditional checking of values in the Rust codebase This pull-request enable conditional checking of (well known) values in the Rust codebase. Well known values were added in rust-lang#94362. All the `target_*` values are taken from all the built-in targets which is why some extra values were needed do be added as they are not (yet ?) defined in any built-in targets. r? `@Mark-Simulacrum`
2 parents 454ef16 + d89ef87 commit e4f96d5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/tests/iter/adapters/step_by.rs

-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ fn test_iterator_step_by_nth() {
5050

5151
#[test]
5252
fn test_iterator_step_by_nth_overflow() {
53-
#[cfg(target_pointer_width = "8")]
54-
type Bigger = u16;
5553
#[cfg(target_pointer_width = "16")]
5654
type Bigger = u32;
5755
#[cfg(target_pointer_width = "32")]

0 commit comments

Comments
 (0)