rune_modules/
test.rs

1//! `std::test` module for the [Rune Language].
2//!
3//! [Rune Language]: https://rune-rs.github.io
4//!
5//! Note: **this has been deprecated**, all functions in this module have been
6//! moved into the [`rune` crate][rune::modules].
7
8use rune::{ContextError, Module};
9
10/// Construct the supplemental `std::test` module.
11#[deprecated = "all functions in this module have been included in the rune crate, see https://github.com/rune-rs/rune/issues/456"]
12pub fn module(_stdio: bool) -> Result<Module, ContextError> {
13    rune::modules::test::module()
14}