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.

fixups.toml · 16 lines · 832 BTOML Blame HistoryRaw
Build both objects under buck2, against the BuildBuddy cache 600f207 nandi 19d ago1[buildscript.run]
2env = { OPT_LEVEL = "2" }
Let the media plane cross to the phone, camera and all fd0e21a nandi 18d ago3
4# Honour the build script's own linking directives, which buck2 drops by
5# default. It compiles aws-lc's C into `libaws_lc_0_43_0_crypto.a` in OUT_DIR
6# and emits `cargo:rustc-link-lib` and `cargo:rustc-link-search` to have it
7# linked; without these two the flags file came out as `--cfg=universal` alone
8# and the archive sat on disk unreferenced, leaving 129 `aws_lc_0_43_0_*`
9# symbols undefined in every buck2-built libjoltmoq.so.
10#
11# Nothing caught that for as long as nothing loaded one. Undefined symbols are
12# legal in a cdylib, and `--no-undefined` was only ever on libjoltapp's own
13# link, which is a different object. The phone is the first consumer to dlopen
14# it, and there it fails outright on `aws_lc_0_43_0_EVP_PKEY_free`.
15rustc_link_lib = true
16rustc_link_search = true