mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-20 22:35:20 +00:00
Add build_table
This commit is contained in:
@@ -44,6 +44,10 @@ pub fn initWasm(
|
||||
// Allow exported symbols to actually be exported.
|
||||
exe.rdynamic = true;
|
||||
|
||||
// Export the indirect function table so that embedders (e.g. JS in
|
||||
// a browser) can insert callback entries for terminal effects.
|
||||
exe.export_table = true;
|
||||
|
||||
// There is no entrypoint for this wasm module.
|
||||
exe.entry = .disabled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user