Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Aug 23, 2023
1 parent d41b6a5 commit 0501266
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 93 deletions.
1 change: 0 additions & 1 deletion tests/virt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ async fn virt_test() -> Result<()> {
fs::write(&virt_component_path, virt_component.adapter)?;

// compose the test component with the defined test virtualization
dbg!("HERE");
let component_bytes = ComponentComposer::new(
&generated_component_path,
&wasm_compose::config::Config {
Expand Down
8 changes: 5 additions & 3 deletions virtual-adapter/src/env.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::exports::wasi::cli_base::environment::Environment;
use crate::wasi::cli_base::environment;
use crate::exports::wasi::cli::environment::Environment;
use crate::wasi::cli::environment;
use crate::VirtAdapter;

#[repr(C)]
Expand Down Expand Up @@ -81,8 +81,10 @@ impl Environment for VirtAdapter {
}
environment
}

fn get_arguments() -> Vec<String> {
environment::get_arguments()
}
fn initial_cwd() -> Option<String> {
environment::initial_cwd()
}
}
Loading

0 comments on commit 0501266

Please sign in to comment.