4 Commits

Author SHA1 Message Date
Guru
2fc6172471
Support iOS targets in the logos-delivery transport build (#203)
The platform gate rejected every target OS except macOS and Linux, so any
Apple mobile target failed at build-script time before compiling anything.

iOS differs from the existing platforms in how the native library is
consumed: an app bundle cannot ship a loose dylib the way an APK ships a
.so, so the delivery node has to be linked as a static archive. That also
means rln must be named explicitly -- with no shared library in the
picture there is no rpath to resolve it transitively. iOS takes the
relocatable path unconditionally, since the absolute-install-name stamping
the default path performs has no meaning for a statically linked archive.

Verified on aarch64-apple-ios-sim: liblogoschat.a builds (arm64,
platform IOSSIMULATOR, 26 exported logoschat_* symbols), links against
liblogosdelivery.a + librln.a with no unresolved symbols, and runs on an
iPhone 17 Pro simulator -- logoschat_gen_address() returns a valid account
address.

Device targets (aarch64-apple-ios) are untested here: they additionally
need liblogosdelivery.a and librln.a built for the device slice, which is
outside this repo.

Co-authored-by: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com>
2026-08-11 08:57:50 -07:00
Mojtaba Chenani
d85b7dae80
fix(build): re-run logos-delivery build script when the native lib appears 2026-08-04 20:22:43 +02:00
kaichao
d2124fd07c
feat: added an opt-in LOGOS_DELIVERY_RELOCATABLE mode (#185)
* added an opt-in LOGOS_DELIVERY_RELOCATABLE mode.

* chore: remove duplicat build.rs
2026-07-24 09:59:58 +08:00
Jazz Turner-Baggs
225b0fab14
Isolate delivery library (#178)
* Isolate logos-delivery

* Update cargo.toml + fixups

* clippy fixes

* fix: topic

* remove tcp prefix from port
2026-07-13 08:51:17 -07:00