xmake-rust

Installation
SKILL.md

Building Rust with Xmake

Xmake builds Rust projects via rustc (and optionally cargo for dependency resolution). It gives you the same declarative target() / add_files() model you use for C/C++, plus special support for Cargo package integration and C↔Rust FFI.

1. Minimal project

xmake create -l rust -t console hello
cd hello
xmake run

Generated xmake.lua:

add_rules("mode.debug", "mode.release")
Installs
3
GitHub Stars
16
First Seen
May 8, 2026
xmake-rust — xmake-io/xmake-skills