Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jul 15, 2024
1 parent 8bcf61e commit ecb1e03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ jobs:
tags: not @library
- name: stak-tools
- name: mstak
tags: not @process-context
tags: not @command-line and not @environment-variable and not @library
- name: mstak-tools
tags: not @process-context
tags: not @command-line and not @environment-variable
exclude:
- os: ${{ github.ref == 'refs/heads/main' && 'none' || 'macos-14' }}
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions cmd/minimal/interpret/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use mstak_util::Mmap;
use stak_device::libc::{ReadWriteDevice, Stderr, Stdin, Stdout};
use stak_file::LibcFileSystem;
use stak_primitive::SmallPrimitiveSet;
use stak_process_context::VoidProcessContext;
use stak_process_context::LibcProcessContext;
use stak_vm::{Value, Vm};

const HEAP_SIZE: usize = 1 << 19;
Expand All @@ -41,7 +41,7 @@ unsafe extern "C" fn main(argc: isize, argv: *const *const i8) -> isize {
SmallPrimitiveSet::new(
ReadWriteDevice::new(Stdin::new(), Stdout::new(), Stderr::new()),
LibcFileSystem::new(),
VoidProcessContext::new(),
LibcProcessContext::new(),
),
)
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion features/process-context/command-line.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@process-context
@command-line
Feature: Command line
Scenario: Get an argument
Given a file named "main.scm" with:
Expand Down
2 changes: 1 addition & 1 deletion features/process-context/environment-variable.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@process-context
@environment-variable
Feature: Environment variables
Scenario: Get an environment variable
Given a file named "main.scm" with:
Expand Down

0 comments on commit ecb1e03

Please sign in to comment.