Skip to content

Commit 525f66a

Browse files
committed
add a function to get the content of the standard library
1 parent 97e7d55 commit 525f66a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/run.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ pub(crate) fn run_file(
196196
ret_val
197197
}
198198

199+
fn get_standard_library() -> &'static str {
200+
include_str!("../crates/nu-utils/standard_library/std.nu")
201+
}
202+
199203
pub(crate) fn run_repl(
200204
engine_state: &mut nu_protocol::engine::EngineState,
201205
parsed_nu_cli_args: command::NushellCliArgs,

0 commit comments

Comments
 (0)