diff options
Diffstat (limited to 'matrix-stdlib')
-rw-r--r-- | matrix-stdlib/Cargo.toml | 1 | ||||
-rw-r--r-- | matrix-stdlib/src/lib.rs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/matrix-stdlib/Cargo.toml b/matrix-stdlib/Cargo.toml index a892c04..1c6b0ac 100644 --- a/matrix-stdlib/Cargo.toml +++ b/matrix-stdlib/Cargo.toml @@ -6,5 +6,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +anyhow = "1" matrix = { path = "../matrix" } matrix-macros = { path = "../matrix-macros" } diff --git a/matrix-stdlib/src/lib.rs b/matrix-stdlib/src/lib.rs index 312d397..6e0cfc1 100644 --- a/matrix-stdlib/src/lib.rs +++ b/matrix-stdlib/src/lib.rs @@ -2,6 +2,6 @@ use matrix::vm::Vm; mod io; -pub fn load(compiler: &mut Vm) { - io::load(compiler); +pub fn load(vm: &mut Vm) { + io::load(vm); } |