build: add bazel rust workflow

This commit is contained in:
2026-08-30 23:10:42 -04:00
parent ba4fbb984a
commit db9851f4bb
13 changed files with 2051 additions and 0 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"],
)