nandi/jolt-nativepublic Fork 0
3dd441e764bc6b0123d9b33fe9871dcf7ac150b6
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

BUCK · 28 lines · 1001 BPython Blame HistoryRaw
Paint the same tree into a terminal, for the machines with no window a7f6202 nandi 17d ago1# The C ABI Jolt loads for a terminal UI: libjolttui.so.
2#
3# The same shape as //crates/jolt-vidya, and for the same reason: one glimmer
4# backend on the jolt side, and a choice of shared object underneath it.
5rust_library(
6 name = "jolt-tui",
7 srcs = glob(["src/**/*.rs"]),
8 crate = "jolttui",
9 crate_root = "src/lib.rs",
10 edition = "2021",
11 features = ["terminal"],
12 preferred_linkage = "shared",
13 # Without this buck names the library after the target — lib_jolt-tui.so —
14 # and that name, not the filename, is what a dependent's DT_NEEDED gets.
15 soname = "libjolttui.so",
16 # As on the vidya cdylib: cross-crate inlining across the graph, one codegen
17 # unit so the dedup is not fighting parallelism inside the crate.
18 rustc_flags = [
19 "-Clto=fat",
20 "-Ccodegen-units=1",
21 ],
22 visibility = ["PUBLIC"],
23 deps = [
24 "//crates/jolt-abi:jolt-abi",
25 "//third-party/rust:crossterm",
26 "//third-party/rust:log",
27 ],
28)