nandi/jolt-nativepublic Fork 0
14a30c029628db6eb0966e8de5efffa1aeeafc57
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 · 1.0 KBPython Blame HistoryRaw
Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago1# The C ABI Jolt loads for the UI: libvidya.so.
2rust_library(
3 name = "vidya-ffi",
4 srcs = glob(["src/**/*.rs"]),
5 crate = "vidya",
6 crate_root = "src/lib.rs",
7 edition = "2021",
8 preferred_linkage = "shared",
9 # Without this buck names the library after the target — lib_vidya-ffi.so —
10 # and that name, not the filename, is what the linker writes into a
11 # dependent's DT_NEEDED. Every consumer looks for `libvidya`.
12 soname = "libvidya.so",
13 visibility = ["PUBLIC"],
14 # Cargo renames the dependency so the cdylib itself can keep the `vidya`
15 # crate name; mirror that here.
16 named_deps = {"vidya_core": "//crates/vidya-core:vidya"},
17 deps = [
18 "//third-party/rust:arboard",
19 "//third-party/rust:egui",
20 "//third-party/rust:egui-winit",
21 "//third-party/rust:egui_glow",
22 "//third-party/rust:glow",
23 "//third-party/rust:glutin",
24 "//third-party/rust:glutin-winit",
25 "//third-party/rust:png",
26 "//third-party/rust:winit",
27 ],
28)