1 2 3 4 5 6 7 8 9
use crate::registry::Registry; use anyhow::Result; pub fn load_builtin(registry: &mut Registry) -> Result<()> { #[cfg(feature = "rd-std")] registry.init_with_registry("std", rd_std::init)?; Ok(()) }
1 2 3 4 5 6 7 8 9
use crate::registry::Registry; use anyhow::Result; pub fn load_builtin(registry: &mut Registry) -> Result<()> { #[cfg(feature = "rd-std")] registry.init_with_registry("std", rd_std::init)?; Ok(()) }