Mercurial
comparison markdown_converter/BUILD @ 195:f8f5004a920a
Merging back hg-web-tip
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 27 Jan 2026 06:51:44 -0800 |
| parents | a2725419f988 |
| children |
comparison
equal
deleted
inserted
replaced
| 189:14cc84ba35a0 | 195:f8f5004a920a |
|---|---|
| 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( |