landstrip 0.10.2

Sandbox for coding agents with parametrized state
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2026 Jarkko Sakkinen

//! Fallback platform implementation for unsupported platforms.
//!
//! Returns [`Error::Platform`] to communicate that the current
//! operating system is not yet supported by landstrip.

use crate::error::{Error, Result};
use crate::policy::AccessPolicy;
use std::ffi::{OsStr, OsString};

pub(crate) fn execute(_policy: &AccessPolicy, _tool: &OsStr, _args: &[OsString]) -> Result<()> {
    Err(Error::Platform {
        message: "platform sandbox support is missing".to_owned(),
    })
}