diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-29 17:04:28 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-29 17:04:28 -0500 |
commit | 5d2747e26f51cc2344a6bd95f93457248fdfebd8 (patch) | |
tree | 8755b4068166c3854d26817683ce438a771ab319 /matrix-std/src/sys.rs | |
parent | more mat, sys, and os stdlib functions, better matrix printing, other fixes (diff) | |
download | matrix-5d2747e26f51cc2344a6bd95f93457248fdfebd8.tar.gz matrix-5d2747e26f51cc2344a6bd95f93457248fdfebd8.tar.bz2 matrix-5d2747e26f51cc2344a6bd95f93457248fdfebd8.zip |
fin prob
Diffstat (limited to '')
-rw-r--r-- | matrix-std/src/sys.rs (renamed from matrix-stdlib/src/sys.rs) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matrix-stdlib/src/sys.rs b/matrix-std/src/sys.rs index d30226f..609e72d 100644 --- a/matrix-stdlib/src/sys.rs +++ b/matrix-std/src/sys.rs @@ -1,9 +1,9 @@ use std::{process::{exit, Command, Stdio, Child}, env, rc::Rc, io::{Read, self}, cell::RefCell, fs::{File, self}, os::fd::FromRawFd, sync::OnceLock, path::PathBuf}; -use matrix::{vm::Vm, value::{Value, ValueMap}, unpack_args, Result, gc::Gc}; +use matrix_lang::prelude::*; use matrix_macros::native_func; use os_info::Info; -use crate::{VmArgs, error}; +use crate::{VmArgs, error, unpack_args}; #[native_func(1)] fn sys_exit(_: VmArgs, args: Vec<Value>) -> Result<Value> { |