Asicrs 构建
- 作者仓库星标 28
- 许可证 Apache-2.0
- 作者仓库 proto-fleet
asicrs-build
just build-plugins and just test-contract rebuild ASIC-rs only when its
freshness check (mtime against the BIN plus a find -newer over
plugin/asicrs sdk/rust server/sdk/v1/pb) trips. That check is robust for
typical edits but skips when the binary mtime is newer than the source —
which is true after a clean checkout or when switching branches.
What to do
- After editing any source under
plugin/asicrs/,sdk/rust/, orserver/sdk/v1/pb/, force a rebuild:- Local development:
just rebuild-plugin asicrs - Docker dev runtime (Linux ARM64): same command — it sets
_asicrs-build-dockerafter removing the platform marker.
- Local development:
- Run
just test-contractif the change affects miner-driver behavior. - If switching between native and Docker runtimes, expect a full rebuild
the first time — the
.asicrs-platformmarker is what disambiguates.
What to avoid
- Don't hand-edit
server/plugins/asicrs-config.yamlto make tests pass — the contract harness rewrites it per suite, and your edits will be overwritten.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @block · Apache-2.0
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- Linux · Docker
- 底层运行要求
- Docker
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 After editing any source under plugin/asicrs/, sdk/rust/, or server/sdk/v1/pb/, force a rebuild: Local development: just rebuild-plugin asicrs
Don't hand-edit server/plugins/asicrs-config.yaml to make tests pass — the contract harness rewrites it per suite, and your edits will be overwritten.
# asicrs-build
`just build-plugins` and `just test-contract` rebuild ASIC-rs only when its
freshness check (mtime against the `BIN` plus a `find -newer` over
`plugin/asicrs sdk/rust server/sdk/v1/pb`) trips. That check is robust for
typical edits but skips when the binary mtime is newer than the source —
which is true after a clean checkout or when switching branches.
## What to do
1. After editing any source under `plugin/asicrs/`, `sdk/rust/`, or
`server/sdk/v1/pb/`, force a rebuild:
- Local development: `just rebuild-plugin asicrs`
- Docker dev runtime (Linux ARM64): same command — it sets
`_asicrs-build-docker` after removing the platform marker.
2. Run `just test-contract` if the change affects miner-driver behavior.
3. If switching between native and Docker runtimes, expect a full rebuild
the first time — the `.asicrs-platform` marker is what disambiguates.
## What to avoid
- Don't hand-edit `server/plugins/asicrs-config.yaml` to make tests pass —
the contract harness rewrites it per suite, and your edits will be
overwritten. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> What to do → What to avoid
要点 -> 原文未标出关键词
文件/命令 -> just build-plugins · just test-contract · BIN · find -newer · plugin/asicrs sdk/rust server/sdk/v1/pb · plugin/asicrs/ · sdk/rust/ · server/sdk/v1/pb/
内容 SHA-256 -> cb974c79335a
原文结构
适用与边界
原文中的明确线索
just build-plugins、just test-contract、BIN、find -newer、plugin/asicrs sdk/rust server/sdk/v1/pb、plugin/asicrs/、sdk/rust/、server/sdk/v1/pb/