Skip to content

Navigation Menu

Sign in
Sign up
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mcpplibs/mcpp-index
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
Loading
...
head repository: mcpplibs/mcpp-index
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/mcpp-plugins-0.4.0
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 8, 2026

  1. mcpp:plugins 0.4.0 —— 生成变成 action,载荷因此是它的声明输入

    `storage::object` 下,生成的汇编在 `.incbin` 里点名每个载荷,而它产出的**目标文件就是
    那些字节** —— 可这份汇编自己的文本并不随字节改变。在 plan 期写出来,它就只被汇编一次,
    此后每次载荷变化都是一次绿色构建覆盖着陈旧字节。在沙箱里、对着索引解析出来的 0.3.0
    实测过:改一个 shader,程序打印的还是上一版的字节数(1480 两次相同)。
    修法不是给引擎加通道,而是不在错误的时刻写那个文件。生成现在是一条 `mcpp::action`,
    命令是 `mcpp-embed`,载荷是它的声明输入 —— 引擎已有的图原语,零新增协议面。
    工具由 mcpp 从本包源码造(`tools = ["mcpp-embed"]`),不单独发包:docs/05 §2.14 写明
    单独打包会让「工具版本与它的 runtime 不匹配」变得不可表达,而那种失败发生在运行期。
    下界因此移到 mcpp 2026年9月8日.1:本包现在按「各自能 import 什么」分成两个单元,而在那个
    版本之前,一个包的 host module 按**路径**排序,`rules/` 排在 `src/` 之前,import 第二个
    单元会失败。
    破坏性:`surface::options` 增加了 `target_os` 与 `has_gas_assembler`,并且不再读环境 ——
    所以是 0.4.0 而不是 0.3.1。
    `latest` 是**替换**不是追加:两个 `["latest"]` 键在 Lua 里后写的赢,`latest` 会静默退回
    上一版而精确 pin 仍然可用。两端(GitHub tag 归档与 GitCode 资产)已 `cmp` 验过逐字节
    相同 —— 描述符只写一个 sha256,不一致就等于发布物在撒谎。
    Sunrisepeak committed Sep 8, 2026
    Configuration menu
    Copy the full SHA
    078d219 View commit details
    Browse the repository at this point in the history
Loading

AltStyle によって変換されたページ (->オリジナル) /