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

Link the ALSA the media plane has been calling all along 3b4eb6b · on dce285fb5a5ec1f331b8afa7b2bdc4ed5e1bbd46 · nandi · 18d ago
fixups.toml · 17 lines · 893 BTOML Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Run the crate build script (emits cfgs / OUT_DIR sources).
[buildscript.run]
# cargo sets OPT_LEVEL for every build script; buck2 does not, and cc-rs and
# a number of configure scripts read it unconditionally.
env = { OPT_LEVEL = "2" }

# And honour the build script's linking directives, the same as aws-lc-sys and
# openh264-sys2 — see the longer note in the first. This build script asks
# pkg-config for alsa and emits `cargo:rustc-link-lib=asound`; buck2 drops that
# by default, which left 68 `snd_pcm_*` symbols undefined in every buck2-built
# desktop libjoltmoq.so and no DT_NEEDED on libasound to resolve them with.
#
# Nothing on Android hit it — cpal uses its AAudio host there, not ALSA — so
# the release that fixed the same class of defect for the phone shipped a
# desktop object that still could not be dlopened at all.
rustc_link_lib = true
rustc_link_search = true