Mercurial
comparison markdown_converter/BUILD @ 190:a2725419f988 hg-web
Updated so that bun builds will with already existing js files.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 24 Jan 2026 21:06:42 -0800 |
| parents | 8cf4ec5e2191 |
| children |
comparison
equal
deleted
inserted
replaced
| 188:32ce881452fa | 190:a2725419f988 |
|---|---|
| 36 linkopts = [ | 36 linkopts = [ |
| 37 "--no-entry", # No main() function | 37 "--no-entry", # No main() function |
| 38 "-sALLOW_MEMORY_GROWTH", # Allow memory to grow dynamically | 38 "-sALLOW_MEMORY_GROWTH", # Allow memory to grow dynamically |
| 39 "-sEXPORTED_FUNCTIONS=['_markdown_to_html','_markdown_free','_markdown_get_length','_wasm_alloc','_wasm_free']", | 39 "-sEXPORTED_FUNCTIONS=['_markdown_to_html','_markdown_free','_markdown_get_length','_wasm_alloc','_wasm_free']", |
| 40 "-sEXPORTED_RUNTIME_METHODS=['cwrap','ccall','UTF8ToString','stringToUTF8','lengthBytesUTF8']", | 40 "-sEXPORTED_RUNTIME_METHODS=['cwrap','ccall','UTF8ToString','stringToUTF8','lengthBytesUTF8']", |
| 41 "-sMODULARIZE", # Output as factory function | |
| 42 "-sEXPORT_ES6", # Use ES6 module exports | |
| 43 "-sENVIRONMENT=web", # Browser-only code (no Node.js builtins) | |
| 41 ], | 44 ], |
| 42 tags=["manual"], | 45 tags=["manual"], |
| 43 ) | 46 ) |
| 44 | 47 |
| 45 wasm_cc_binary( | 48 wasm_cc_binary( |