Skip to content

Commit

Permalink
Bump stacker for wasm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jul 31, 2020
1 parent da60341 commit 966f0dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2477,9 +2477,9 @@ dependencies = [

[[package]]
name = "psm"
version = "0.1.10"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "092d385624a084892d07374caa7b0994956692cf40650419a1f1a787a8d229cf"
checksum = "96e0536f6528466dbbbbe6b986c34175a8d0ff25b794c4bacda22e068cd2f2c5"
dependencies = [
"cc",
]
Expand Down Expand Up @@ -3539,6 +3539,7 @@ dependencies = [
"rustc_serialize",
"smallvec 1.4.0",
"stable_deref_trait",
"stacker",
"winapi 0.3.8",
]

Expand Down Expand Up @@ -4493,9 +4494,9 @@ checksum = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa"

[[package]]
name = "stacker"
version = "0.1.9"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72dd941b456e1c006d6b9f27c526d5b69281288aeea8cba82c19d3843d8ccdd2"
checksum = "8376bcbe35bcfba504adfbcde5aeb019ead0b43ae5c0a071e0570ee3377de5a1"
dependencies = [
"cc",
"cfg-if",
Expand Down Expand Up @@ -4671,8 +4672,6 @@ checksum = "ab0e7238dcc7b40a7be719a25365910f6807bd864f4cce6b2e6b873658e2b19d"
[[package]]
name = "tempfile"
version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
dependencies = [
"cfg-if",
"libc",
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rustc_index = { path = "../librustc_index", package = "rustc_index" }
bitflags = "1.2.1"
measureme = "0.7.1"
libc = "0.2"
#stacker = "0.1.9"
stacker = "0.1.10"

[dependencies.parking_lot]
version = "0.10"
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_data_structures/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ const STACK_PER_RECURSION: usize = 1 * 1024 * 1024; // 1MB
///
/// Should not be sprinkled around carelessly, as it causes a little bit of overhead.
pub fn ensure_sufficient_stack<R>(f: impl FnOnce() -> R) -> R {
f()//stacker::maybe_grow(RED_ZONE, STACK_PER_RECURSION, f)
stacker::maybe_grow(RED_ZONE, STACK_PER_RECURSION, f)
}

0 comments on commit 966f0dc

Please sign in to comment.