summaryrefslogtreecommitdiff
path: root/dhall/tests/common/mod.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-20 22:46:07 +0100
committerNadrieril2019-03-20 22:46:07 +0100
commitd6cbee16586be9013bebfa8dc9e7aa0a31c8c55f (patch)
tree648930a3084aae9e8cc98952026c2577b6fe69d5 /dhall/tests/common/mod.rs
parent775b26ee3e6dba4173d71ab5c15a0f11aceeef69 (diff)
Make parser implementation non-recursive
Diffstat (limited to '')
-rw-r--r--dhall/tests/common/mod.rs17
1 files changed, 1 insertions, 16 deletions
diff --git a/dhall/tests/common/mod.rs b/dhall/tests/common/mod.rs
index a635fb1..75aee38 100644
--- a/dhall/tests/common/mod.rs
+++ b/dhall/tests/common/mod.rs
@@ -24,22 +24,7 @@ macro_rules! make_spec_test {
#[allow(non_snake_case)]
fn $name() {
use crate::common::*;
-
- if cfg!(feature = "nothreads") {
- run_test($path, Feature::$type);
- } else {
- use std::thread;
- // The parser stack overflows even on small files
- // when compiled without optimizations
- thread::Builder::new()
- .stack_size(16 * 1024 * 1024)
- .spawn(move || {
- run_test($path, Feature::$type);
- })
- .unwrap()
- .join()
- .unwrap();
- }
+ run_test($path, Feature::$type);
}
};
}