Stop building the media plane frq no longer loads
jolt-native compiled its external crates once, for the whole workspace, and
shared that between all three of its objects. frq takes two of them and has
its own media plane now, so it was paying for jolt-moq's dependency graph --
moq-net, iroh, quinn, rustls, aws-lc-sys -- to build an object it does not
open.
Split by consumer upstream (jolt-native, branch no-moq-deps, off the rev
this pin already named rather than off main, which has moved to the
Zig/dvui backend):
whole workspace lock 810 crates
vidya + tui 146
no longer built 394
Which is the answer to the question this whole port started from. The
compile was never the media plane's SOURCE being slow; it was its
dependencies being built by everyone who wanted anything from that
workspace.
Verified: nativeAll builds and carries libvidya, libjolttui, libmoq_ffi,
libfrqh264, libopus, libopenh264 and libasound -- no libjoltmoq -- and
`just tui --headless` still loads the whole app and renders.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>231b9d3 parent: b33f288 modified
flake.lock +5 -5 | @@ -155,16 +155,16 @@ | ||
| 155 | 155 | "rust-overlay": "rust-overlay" |
| 156 | 156 | }, |
| 157 | 157 | "locked": { |
| 158 | - "lastModified": 1788842653, | |
| 159 | - "narHash": "sha256-x8MK9ftM0Ya0hh4luXEasLVaTbMUOI8NAevN7pgd/aE=", | |
| 158 | + "lastModified": 1789042358, | |
| 159 | + "narHash": "sha256-n8YSOGKVI9/keASnprfVK/Sd0K+b4IigHLvtRkyi9+8=", | |
| 160 | 160 | "ref": "refs/heads/main", |
| 161 | - "rev": "d970307ccf1fe67e2e971f2837d2282d8ba79a62", | |
| 162 | - "revCount": 64, | |
| 161 | + "rev": "2975a4318cc748dd0ee25d6cef64f29c87bb1cf7", | |
| 162 | + "revCount": 65, | |
| 163 | 163 | "type": "git", |
| 164 | 164 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 165 | 165 | }, |
| 166 | 166 | "original": { |
| 167 | - "rev": "d970307ccf1fe67e2e971f2837d2282d8ba79a62", | |
| 167 | + "rev": "2975a4318cc748dd0ee25d6cef64f29c87bb1cf7", | |
| 168 | 168 | "type": "git", |
| 169 | 169 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 170 | 170 | } |
| @@ -155,16 +155,16 @@ | |||
| 155 | "rust-overlay": "rust-overlay" | 155 | "rust-overlay": "rust-overlay" |
| 156 | }, | 156 | }, |
| 157 | "locked": { | 157 | "locked": { |
| 158 | - "lastModified": 1788842653, | 158 | + "lastModified": 1789042358, |
| 159 | - "narHash": "sha256-x8MK9ftM0Ya0hh4luXEasLVaTbMUOI8NAevN7pgd/aE=", | 159 | + "narHash": "sha256-n8YSOGKVI9/keASnprfVK/Sd0K+b4IigHLvtRkyi9+8=", |
| 160 | "ref": "refs/heads/main", | 160 | "ref": "refs/heads/main", |
| 161 | - "rev": "d970307ccf1fe67e2e971f2837d2282d8ba79a62", | 161 | + "rev": "2975a4318cc748dd0ee25d6cef64f29c87bb1cf7", |
| 162 | - "revCount": 64, | 162 | + "revCount": 65, |
| 163 | "type": "git", | 163 | "type": "git", |
| 164 | "url": "https://gitlab.com/nandithebull/jolt-native" | 164 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 165 | }, | 165 | }, |
| 166 | "original": { | 166 | "original": { |
| 167 | - "rev": "d970307ccf1fe67e2e971f2837d2282d8ba79a62", | 167 | + "rev": "2975a4318cc748dd0ee25d6cef64f29c87bb1cf7", |
| 168 | "type": "git", | 168 | "type": "git", |
| 169 | "url": "https://gitlab.com/nandithebull/jolt-native" | 169 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 170 | } | 170 | } |
modified
flake.nix +8 -1 | @@ -46,6 +46,13 @@ | ||
| 46 | 46 | # |
| 47 | 47 | # Pinned all the same, and pinned to a rev: this input carries both halves of |
| 48 | 48 | # glimmer-vidya — libvidya, and the Jolt side that binds it — so an |
| 49 | + # Pinned to `no-moq-deps`, which is the rev below plus one commit: it | |
| 50 | + # splits jolt-native's dependency artifact by consumer, so asking for | |
| 51 | + # libvidya and libjolttui no longer builds jolt-moq's 394 crates. It is | |
| 52 | + # branched from the rev this used to name rather than taken off main, | |
| 53 | + # because main has moved on to the Zig/dvui backend and a UI change is | |
| 54 | + # not what this pin is for. | |
| 55 | + # | |
| 49 | 56 | # unpinned `main` is a build whose native half is free to sit at a |
| 50 | 57 | # different commit from the tree that talks to it. It did, and what the |
| 51 | 58 | # drift cost was silence: the Jolt half sent a reaction pill's hover card |
| @@ -56,7 +63,7 @@ | ||
| 56 | 63 | # drift this comment warns about wearing a different hat: one input, and |
| 57 | 64 | # the window and the terminal are the same library either way. |
| 58 | 65 | jolt-native = { |
| 59 | - url = "git+https://gitlab.com/nandithebull/jolt-native?rev=d970307ccf1fe67e2e971f2837d2282d8ba79a62"; | |
| 66 | + url = "git+https://gitlab.com/nandithebull/jolt-native?rev=2975a4318cc748dd0ee25d6cef64f29c87bb1cf7"; | |
| 60 | 67 | inputs.nixpkgs.follows = "nixpkgs"; |
| 61 | 68 | }; |
| 62 | 69 | |
| @@ -46,6 +46,13 @@ | |||
| 46 | # | 46 | # |
| 47 | # Pinned all the same, and pinned to a rev: this input carries both halves of | 47 | # Pinned all the same, and pinned to a rev: this input carries both halves of |
| 48 | # glimmer-vidya — libvidya, and the Jolt side that binds it — so an | 48 | # glimmer-vidya — libvidya, and the Jolt side that binds it — so an |
| 49 | + # Pinned to `no-moq-deps`, which is the rev below plus one commit: it | ||
| 50 | + # splits jolt-native's dependency artifact by consumer, so asking for | ||
| 51 | + # libvidya and libjolttui no longer builds jolt-moq's 394 crates. It is | ||
| 52 | + # branched from the rev this used to name rather than taken off main, | ||
| 53 | + # because main has moved on to the Zig/dvui backend and a UI change is | ||
| 54 | + # not what this pin is for. | ||
| 55 | + # | ||
| 49 | # unpinned `main` is a build whose native half is free to sit at a | 56 | # unpinned `main` is a build whose native half is free to sit at a |
| 50 | # different commit from the tree that talks to it. It did, and what the | 57 | # different commit from the tree that talks to it. It did, and what the |
| 51 | # drift cost was silence: the Jolt half sent a reaction pill's hover card | 58 | # drift cost was silence: the Jolt half sent a reaction pill's hover card |
| @@ -56,7 +63,7 @@ | |||
| 56 | # drift this comment warns about wearing a different hat: one input, and | 63 | # drift this comment warns about wearing a different hat: one input, and |
| 57 | # the window and the terminal are the same library either way. | 64 | # the window and the terminal are the same library either way. |
| 58 | jolt-native = { | 65 | jolt-native = { |
| 59 | - url = "git+https://gitlab.com/nandithebull/jolt-native?rev=d970307ccf1fe67e2e971f2837d2282d8ba79a62"; | 66 | + url = "git+https://gitlab.com/nandithebull/jolt-native?rev=2975a4318cc748dd0ee25d6cef64f29c87bb1cf7"; |
| 60 | inputs.nixpkgs.follows = "nixpkgs"; | 67 | inputs.nixpkgs.follows = "nixpkgs"; |
| 61 | }; | 68 | }; |
| 62 | 69 | ||