usestd::sync::Arc;usecrate::{Runtime, library,runtime::OptCtx};impl<Ctx: OptCtx>Runtime<Ctx>{/// Add functions using I/O to the runtime.
////// These functions are disabled by default because Roto might be used in a
/// context where using I/O is not permitted.
////// For now, this just adds the `print` function. More functions will be
/// added in the future.
pubfnadd_io_functions(&mutself){self.add(library!{/// Print a string to stdout
fnprint(s:Arc<str>){println!("{s}");}}).unwrap();}}