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