1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{:paths ["src"]
;; glimmer-cosmic is a backend for glimmer, beside glimmer-vidya and
;; glimmer-tui and against the same reconciler. It binds libjoltcosmic
;; (crates/jolt-cosmic), which keeps libvidya's retained-tree ABI and paints it
;; with libcosmic. The one difference a caller can feel is that libcosmic owns
;; the main thread, so the reconciler runs on a worker.
:deps {jolt-lang/glimmer {:git/url "https://github.com/jolt-lang/glimmer"
:git/tag "v0.1.0"
:git/sha "5581c331c51aff989259b9e8e92ec920fe5e6741"}}
;; libjoltcosmic, built from ../../crates/jolt-cosmic:
;; cargo build --release -p jolt-cosmic
;; LD_LIBRARY_PATH=../../target/release jolt -M:counter
:jolt/native [{:name "joltcosmic"
:linux ["libjoltcosmic.so"]}]
:aliases {:counter {:extra-paths ["examples"]
:main-opts ["-m" "glimmer-cosmic.counter"]}
:smoke {:extra-paths ["examples"]
:main-opts ["-m" "glimmer-cosmic.smoke"]}}
:tasks {counter "jolt -M:counter"
smoke "jolt -M:smoke"}}
|