// std or loom, chosen at compile time by crate feature.
useloomy::{thread,cell::UnsafeCell};structFoo{cell:UnsafeCell<...>,
}#[test]fntest_example(){// When using `std`, `loomy::model` only invokes the closure and nothing
// more.
loomy::model(||{// ...
thread::spawn(||{// ...
});// ...
});}