We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce04174 commit c59e8f2Copy full SHA for c59e8f2
src/lib.rs
@@ -652,6 +652,8 @@ pub trait ThreadExt: Send + Sync {
652
/// ```
653
/// # use gluon::{new_vm, ThreadExt};
654
/// # fn main() {
655
+ /// # // Workaround stack overflow on appveyor
656
+ /// # std::thread::Builder::new().stack_size(2_000_000).spawn(move || {
657
/// let vm = new_vm();
658
/// let (result, _) = vm
659
/// .run_expr::<String>(
@@ -660,6 +662,7 @@ pub trait ThreadExt: Send + Sync {
660
662
/// )
661
663
/// .unwrap();
664
/// assert_eq!(result, "Hello world");
665
+ /// }).unwrap().join().unwrap()
666
/// # }
667
668
///
0 commit comments