Skip to content

Commit 33ee071

Browse files
committed
try to not special-case wasm
1 parent 97c286e commit 33ee071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recursion_guard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct RecursionGuard {
2020
}
2121

2222
// A hard limit to avoid stack overflows when rampant recursion occurs
23-
const RECURSION_GUARD_LIMIT: u16 = if cfg!(target_family = "wasm") { 50 } else { 255 };
23+
const RECURSION_GUARD_LIMIT: u16 = 255;
2424

2525
impl RecursionGuard {
2626
// insert a new id into the set, return whether the set already had the id in it

0 commit comments

Comments
 (0)