File tree 2 files changed +4
-16
lines changed
compiler/rustc_data_structures/src
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -2751,9 +2751,9 @@ dependencies = [
2751
2751
2752
2752
[[package ]]
2753
2753
name = " psm"
2754
- version = " 0.1.24 "
2754
+ version = " 0.1.25 "
2755
2755
source = " registry+https://github.com/rust-lang/crates.io-index"
2756
- checksum = " 200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810 "
2756
+ checksum = " f58e5423e24c18cc840e1c98370b3993c6649cd1678b4d24318bcf0a083cbe88 "
2757
2757
dependencies = [
2758
2758
" cc" ,
2759
2759
]
@@ -4947,9 +4947,9 @@ dependencies = [
4947
4947
4948
4948
[[package ]]
4949
4949
name = " stacker"
4950
- version = " 0.1.17 "
4950
+ version = " 0.1.18 "
4951
4951
source = " registry+https://github.com/rust-lang/crates.io-index"
4952
- checksum = " 799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b "
4952
+ checksum = " 1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e "
4953
4953
dependencies = [
4954
4954
" cc" ,
4955
4955
" cfg-if" ,
Original file line number Diff line number Diff line change @@ -17,18 +17,6 @@ const STACK_PER_RECURSION: usize = 16 * 1024 * 1024; // 16MB
17
17
///
18
18
/// Should not be sprinkled around carelessly, as it causes a little bit of overhead.
19
19
#[ inline]
20
- #[ cfg( not( miri) ) ]
21
20
pub fn ensure_sufficient_stack < R > ( f : impl FnOnce ( ) -> R ) -> R {
22
21
stacker:: maybe_grow ( RED_ZONE , STACK_PER_RECURSION , f)
23
22
}
24
-
25
- /// Grows the stack on demand to prevent stack overflow. Call this in strategic locations
26
- /// to "break up" recursive calls. E.g. almost any call to `visit_expr` or equivalent can benefit
27
- /// from this.
28
- ///
29
- /// Should not be sprinkled around carelessly, as it causes a little bit of overhead.
30
- #[ cfg( miri) ]
31
- #[ inline]
32
- pub fn ensure_sufficient_stack < R > ( f : impl FnOnce ( ) -> R ) -> R {
33
- f ( )
34
- }
You can’t perform that action at this time.
0 commit comments