build: add Bazel Rust workflow

This commit was merged in pull request #2.
This commit is contained in:
2026-08-31 17:50:12 -04:00
parent ba4fbb984a
commit 97cca46f4e
19 changed files with 2088 additions and 1 deletions

13
src/machoke/BUILD Normal file
View File

@@ -0,0 +1,13 @@
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
rust_library(
name = "machoke_lib",
crate_name = "machoke",
srcs = ["lib.rs"],
)
rust_binary(
name = "machoke",
srcs = ["main.rs"],
deps = [":machoke_lib"],
)