abrasion/engine/BUILD.bazel

34 lines
704 B
Python
Raw Normal View History

load("@rules_rust//rust:rust.bzl", "rust_library")
2020-01-18 23:27:11 +00:00
2021-07-11 00:38:34 +00:00
rust_library(
2020-01-18 23:27:11 +00:00
name = "engine",
edition = "2018",
2020-03-14 15:55:03 +00:00
rustc_flags = [
"-C", "opt-level=3",
"-C", "overflow-checks=n",
"-C", "force-frame-pointers=y",
"-C", "lto=off",
"-Zpolonius",
"-Zborrowck=mir",
2020-03-14 15:55:03 +00:00
],
2020-01-18 23:27:11 +00:00
srcs = [
2021-07-11 00:46:57 +00:00
"lib.rs",
2020-08-22 14:41:36 +00:00
2021-07-11 00:46:57 +00:00
"globals.rs",
"scripting.rs",
2020-01-18 23:27:11 +00:00
],
deps = [
2021-07-11 01:24:58 +00:00
"//engine/input",
"//engine/util",
"//engine/physics",
"//engine/render",
2020-08-22 14:41:36 +00:00
"//lib/ecs",
2021-04-04 20:22:33 +00:00
"//third_party/cargo:mlua",
2020-01-18 23:27:11 +00:00
"//third_party/cargo:log",
2020-01-19 15:59:05 +00:00
],
2021-07-11 01:30:04 +00:00
data = glob(["lua/**"]),
2021-07-11 00:38:34 +00:00
visibility = [
"//visibility:public",
2020-03-16 00:30:36 +00:00
],
2021-07-11 00:38:34 +00:00
)