probe3
This commit is contained in:
parent
8552da3e7f
commit
9917c6c20e
1 changed files with 10 additions and 0 deletions
|
|
@ -969,3 +969,13 @@ fn probe_build_only() {
|
|||
eprintln!("dropped");
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn probe_stack() {
|
||||
let mb: usize = std::env::var("MB").unwrap().parse().unwrap();
|
||||
std::thread::Builder::new().stack_size(mb * 1024 * 1024).spawn(|| {
|
||||
let document = surface(chain(200, false), &[]);
|
||||
let resolution = run(&document, &MemState::new());
|
||||
eprintln!("ok {}", resolution.tree.is_some());
|
||||
}).unwrap().join().unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue