下载 Russd 核心
核心源码在 huhm-cc/russd-core。请用 git 获取并自行编译,这是目前唯一支持的发行方式。
GitHub(源码)
仓库:https://github.com/huhm-cc/russd-core。许可证:GNU GPL v3。
`git clone` 会在当前目录下创建 `russd-core/`。之后的 `cargo` 必须在那个文件夹里运行。若出现 `could not find Cargo.toml`,说明还停在上一层(例如 `D:\test`),请先 `cd russd-core`。
git clone(PowerShell / bash)
git clone https://github.com/huhm-cc/russd-core
cd russd-core
cargo test --workspace
cargo run -- examples/hello.rsd
cargo build --release
.\target\release\russd.exe run examples/hello.rsdOrigin CLI
Cursor Origin 上的副本可用 Origin CLI 克隆。
Origin
curl -fsSL https://downloads.cursor.com/origin/install.sh | sh
origin auth login
origin repo clone lan-b3w0h/russd-core验证
请运行 cargo test --workspace,并执行 examples/hello.rsd。