Open andrieshiemstra opened 3 years ago
@andrieshiemstra, I just test it and it works normally here on the latest dev branch.
cargo test test_promise
running 1 test
test vm::tests::test_promise ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.07s
My rustc versions is rustc 1.55.0-nightly (e8cb1a4a5 2021-06-27)
Right now there are some problems running tests with just cargo test
you at least need cargo test -- -test-threads 1
for it to work.
when using the current code i often get a stack overflow
at first i thought it was a problem with my async/promise code but when creating a new fork and just adding this test case i get a stack overflow 9 out 10 times
gets me this:
I tested on openSUSE leap 15.3 and a pretty recent fedora on my laptop.. same results
i updated to the latest rust nightly, same result.. which nightly are you running?