pub fn stdlib_modules(option: StdLibOptions) -> &'static [CompiledModule] {
    match option {
        StdLibOptions::Fresh => &*FRESH_MOVELANG_STDLIB,
        StdLibOptions::Compiled(version) => &*COMPILED_STDLIB
            .get(&version)
            .unwrap_or_else(|| panic!("Stdlib version {:?} not exist.", version)),
    }
}
/// Returns a reference to the standard library. Depending upon the `option` flag passed in
/// either a compiled version of the standard library will be returned or a new freshly built stdlib
/// will be used.
Returns a reference to the standard library. Depending upon the `option` flag passed in
either a compiled version of the standard library will be returned or a new freshly built stdlib
will be used.
Returns a reference to the standard library . Depending upon the ` option ` flag passed in either a compiled version of the standard library will be returned or a new freshly built stdlib will be used .
pub fn stdlib_modules(option: StdLibOptions) -> &'static [CompiledModule] {
    match option {
        StdLibOptions::Fresh => &*FRESH_MOVELANG_STDLIB,
        StdLibOptions::Compiled(version) => &*COMPILED_STDLIB
            .get(&version)
            .unwrap_or_else(|| panic!("Stdlib version {:?} not exist.", version)),
    }
}
pub fn stdlib_modules ( option : StdLibOptions ) -> & ' static [ CompiledModule ] { match option { StdLibOptions :: Fresh => & * FRESH_MOVELANG_STDLIB , StdLibOptions :: Compiled ( version ) => & * COMPILED_STDLIB . get ( & version ) . unwrap_or_else ( | | panic ! ( " " version ) ) , } }
Returns a reference to the standard library.
Returns a reference to the standard library .
option
StdLibOptions
option
StdLibOptions