As of Burrito 1.6.0, Tuix apps do not work in Burrito binaries out of the box. The packaging guide and the examples/burrito project document the current state and workarounds. This issue tracks the upstream fixes so the docs can be updated (and the caveats removed) as they land.
Upstream issues
When fixes land
- #234 fixed: remove the "does not work out of the box" warnings from the guide's Known upstream issues section and the example README; bump the example's Burrito requirement to the fixed version.
- #215 fixed: drop the
custom_erts / BURRITO_CUSTOM_ERTS workaround from the example mix.exs, guide, and example README.
- #229 fixed: soften the entry-point explanation (synchronous
start/2 remains the recommended pattern).
- #233 fixed: no doc changes needed; the
Code.ensure_loaded?/1 fix in Tuix stays regardless (it is correct for any lazy-loading VM).
Full write-up of the debugging that led to these reports lives in the linked upstream issues (probe tables, minimal repros, and suggested fixes).
As of Burrito 1.6.0, Tuix apps do not work in Burrito binaries out of the box. The packaging guide and the
examples/burritoproject document the current state and workarounds. This issue tracks the upstream fixes so the docs can be updated (and the caveats removed) as they land.Upstream issues
{:error, :enotsup}, and keyboard input is never delivered. No workaround short of patching Burrito's Zig wrapper.custom_ertspointing at a local OTP install root (wired up viaBURRITO_CUSTOM_ERTSin the example).--no-halt). Worked around by runningTuix.run/2synchronously insideApplication.start/2; that pattern stays correct even after the upstream fix, so this only affects how strongly the guide has to insist on it.-mode embeddedis passed as a single argv string, so Burrito VMs boot in interactive mode. Non-fatal for Tuix:Tuix.Runtime.call_mount/2now callsCode.ensure_loaded?/1beforefunction_exported?/3(previouslymount/2was silently skipped in interactive-mode VMs — this bug was found while debugging the Burrito binary).When fixes land
custom_erts/BURRITO_CUSTOM_ERTSworkaround from the examplemix.exs, guide, and example README.start/2remains the recommended pattern).Code.ensure_loaded?/1fix in Tuix stays regardless (it is correct for any lazy-loading VM).Full write-up of the debugging that led to these reports lives in the linked upstream issues (probe tables, minimal repros, and suggested fixes).