oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package render
4
5import (
6 "context"
7 "io"
8
9 "amadan.net/oficina/equipo/internal/release"
10 "amadan.net/oficina/equipo/internal/wire"
11)
12
13// Launch is Linux's alone: elsewhere the renderer is missing.
14func Launch(context.Context, LaunchConfig) (*Sandbox, error) {
15 return nil, &release.RendererError{Health: wire.ToolMissing, Reason: "the renderer runs only on Linux"}
16}
17
18// ExecMain is Linux's alone.
19func ExecMain([]string) int { return 2 }
20
21// SandboxMain is Linux's alone.
22func SandboxMain([]string, io.Writer) int { return 2 }
23