1
0

feat: write some lowlevel code

This commit is contained in:
2026-04-29 13:11:12 +08:00
parent 6ff42928f1
commit e8ff9a3e4f
3 changed files with 306 additions and 34 deletions

View File

@@ -57,7 +57,10 @@ fn run_status(program: wfassoc::Program, view: wfassoc::View) -> Result<()> {
fn run_ext_link(program: wfassoc::Program, scope: wfassoc::Scope, exts: Vec<String>) -> Result<()> {
let exts = stringified_exts_to_indices(&program, exts)?;
todo!()
for index in exts {
program.link_ext(scope, index)?;
}
Ok(())
}
fn run_ext_unlink(
@@ -66,7 +69,10 @@ fn run_ext_unlink(
exts: Vec<String>,
) -> Result<()> {
let exts = stringified_exts_to_indices(&program, exts)?;
todo!()
for index in exts {
program.link_ext(scope, index)?;
}
Ok(())
}
fn run_ext_list(