diff options
| author | bors <bors@rust-lang.org> | 2022-06-04 23:14:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-04 23:14:09 +0000 |
| commit | 43874a2ee749c2dd9f052172341f2f87fa36cd79 (patch) | |
| tree | d4d0186c548df3f4fe7e6330e25bcf5b95d434e5 /compiler/rustc_data_structures/src/graph | |
| parent | 4e725bad73747a4c93a3ac53106e4b4006edc665 (diff) | |
| parent | 1794309e0aa451e63d74511d4af595a5bcd0f685 (diff) | |
| download | rust-43874a2ee749c2dd9f052172341f2f87fa36cd79.tar.gz rust-43874a2ee749c2dd9f052172341f2f87fa36cd79.zip | |
Auto merge of #97742 - matthiaskrgr:rollup-fr3j0t8, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #97609 (Iterate over `maybe_unused_trait_imports` when checking dead trait imports) - #97688 (test const_copy to make sure bytewise pointer copies are working) - #97707 (Improve soundness of rustc_data_structures) - #97731 (Add regresion test for #87142) - #97735 (Don't generate "Impls on Foreign Types" for std) - #97737 (Fix pretty printing named bound regions under -Zverbose) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_data_structures/src/graph')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/scc/tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/tests.rs b/compiler/rustc_data_structures/src/graph/scc/tests.rs index 364005e67e6..9940fee60d7 100644 --- a/compiler/rustc_data_structures/src/graph/scc/tests.rs +++ b/compiler/rustc_data_structures/src/graph/scc/tests.rs @@ -156,7 +156,10 @@ fn test_deep_linear() { v … */ + #[cfg(not(miri))] const NR_NODES: usize = 1 << 14; + #[cfg(miri)] + const NR_NODES: usize = 1 << 3; let mut nodes = vec![]; for i in 1..NR_NODES { nodes.push((i - 1, i)); |
