Skip to content

Commit 789a0bb

Browse files
committed
docs: the toolchain builders listed are the ones the module has
The page named `compose`, which does not exist, and left out `newest_under`, `managed` and `with_family`. Every name on that line and in the tool section was then checked against the sources.
1 parent 358841d commit 789a0bb

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎docs/plugin-development.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ build reports.
101101
**Stating the build toolchain.** `mcpp.plugins.toolchain` (feature
102102
`plugins-toolchain`) builds the statement a root build program makes in its
103103
toolchain phase, for a project whose `[toolchain]` says
104-
`configure = "build.mcpp"`: `layout`, `prefixed`, `compose`,
105-
`from_env_script`, `with_launcher`, `with_sysroot`, `with_tool`, `managed`,
106-
`env`, and `configure(fn)` / `use(d)`.
104+
`configure = "build.mcpp"`: `layout`, `prefixed`, `managed`, `from_env_script`,
105+
`newest_under`, `env`, the `with_launcher` / `with_sysroot` / `with_family` /
106+
`with_tool` refinements, and `configure(fn)` / `use(d)`.
107107
108108
**Testing a plugin.** `mcpp.plugins.testing` runs a plugin function in a child
109109
process against a stated build context (`row::windows_visual_studio()`,

‎src/toolchain.cppm‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
// and the engine reads both in one place, so a toolchain stated here and one
3030
// named in the manifest behave alike. What this module adds are the builders
3131
// a manifest cannot express: a value read from the environment, a tree found
32-
// by looking, a vendor SDK's environment script, a toolchain composed of parts.
32+
// by looking, a vendor SDK's environment script, and a tree refined part by part
33+
// (a launcher, a sysroot, a tool named by role).
3334

3435
export module mcpp.plugins.toolchain;
3536

0 commit comments

Comments
 (0)