Slopos toolchain

From SlopLabs/slopos · View interactive version

Slopos toolchain is an AI agent skill from the GitHub repository SlopLabs/slopos. The toolchain that builds SlopOS and the one cross-built to run on it: the owned sysroot, the rustc and LLVM forks, the C++ runtime, the recipes and the offline build. Use when a task touches `toolchain/`, `targets/`, `scripts/make_*.sh`, `scripts/bootstrap_slopos_toolchain.sh`, `scripts/build_recip

How to use this skill

Skill file

Read first

Rules a change must keep

under toolchain/; the trees under third_party/ are remade from them.

(toolchain/PIN, toolchain/compiler/PIN, toolchain/cxx/PIN).

targets/x86_64-unknown-slopos.json must stay equal.

against different LLVM versions. A port change goes into both.

restate it. Choose host LLVM tools only through scripts/cxx_host_tools.sh.

machinery in a process make an exception uncatchable.

port needs is a slibc or kernel fix. A recipe under GPL-2.0-only or CDDL

carries no patch.

entry. Do not fold .cargo/vendor.toml into .cargo/config.toml.

scripts/lib/rustc_build_settings.sh, shared by just toolchain and

just toolchain-profile, or a PGO profile stops fitting. Bump

PROFILE_FLOW when the profile script's steps or workload change.

userland/userland.ld discards .eh_frame on that assumption.

Checks

Not yet in the docs

Read pending.md beside this file when it exists. A change that adds or alters an invariant the docs do not state appends it there in the same commit.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.