| Crates.io | rush-build |
| lib.rs | rush-build |
| version | 0.1.0 |
| created_at | 2025-10-01 19:17:21.454932+00 |
| updated_at | 2025-10-01 19:17:21.454932+00 |
| description | Simple, Peak Performance Build System |
| homepage | |
| repository | https://github.com/rakivo/rush |
| max_upload_size | |
| id | 1863292 |
| size | 151,110 |
rush is a simple, peak-performance build system heavily inspired by Ninja.
It’s designed for speed and clarity — making it easy to build projects from small experiments to large codebases.
$ cargo install rush-build
cflags = -std=gnu99 -Wall -Wextra -O3
builddir = build
phony all
build all: $builddir/main run
rule cc
depfile = $out.d
command = gcc -MD -MF $out.d $cflags -o $out -c $in
rule link
command = cc $cflags -o $out $in
build $builddir/foo.o: cc foo.c
build $builddir/bar.o: cc bar.c
build $builddir/main.o: cc main.c
build $builddir/main: link $builddir/foo.o $
$builddir/bar.o $
$builddir/main.o
cflags = -std=gnu99 -O2
phony run
build run:
command = ./$builddir/main
cflags = -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -lm
rule cc
description = compile $in to $out
command = gcc -MD -MF $out.d -o $out -c $in $cflags
depfile = $out.d
rule link
description = link $in into $out
command = gcc -o $out $in $cflags
build src/lapi.o: cc src/lapi.c
...
build src/lzio.o: cc src/lzio.c
build lua: link src/lapi.o src/lauxlib.o ... src/lzio.o
build clean:
command = rm -f src/*.o lua
[!Warning] Currently, Rush only supports Unix-like systems (Linux, macOS). Windows is not supported yet, and we do not have any active developers testing on Windows. Contributions to improve Windows support are welcome!
examples/ directory.Issues and PRs are welcome! See CONTRIBUTING.md for details.
Dual-licensed under Apache-2.0 or MIT.