nandi/jolt-nativepublic Fork 0
c2d912f670b7a2e5808970d17cecf51c6c87cfbf
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.

fixups.toml · 17 lines · 893 BTOML Blame HistoryRaw
Build under buck2, with the toolchain pinned rather than found 460541b nandi 20d ago1# Run the crate build script (emits cfgs / OUT_DIR sources).
Build both objects under buck2, against the BuildBuddy cache 600f207 nandi 19d ago2[buildscript.run]
3# cargo sets OPT_LEVEL for every build script; buck2 does not, and cc-rs and
4# a number of configure scripts read it unconditionally.
5env = { OPT_LEVEL = "2" }
Link the ALSA the media plane has been calling all along 3b4eb6b nandi 18d ago6
7# And honour the build script's linking directives, the same as aws-lc-sys and
8# openh264-sys2 — see the longer note in the first. This build script asks
9# pkg-config for alsa and emits `cargo:rustc-link-lib=asound`; buck2 drops that
10# by default, which left 68 `snd_pcm_*` symbols undefined in every buck2-built
11# desktop libjoltmoq.so and no DT_NEEDED on libasound to resolve them with.
12#
13# Nothing on Android hit it — cpal uses its AAudio host there, not ALSA — so
14# the release that fixed the same class of defect for the phone shipped a
15# desktop object that still could not be dlopened at all.
16rustc_link_lib = true
17rustc_link_search = true