LibJS: Export symbols causing linker errors in various consumers

After LibJS had its symbol exports optimized the targets
js, test-js, test262-runner, test-wasm, and LibWeb began to get linker
errors after the work to add Windows support for test-web and ladybird
targets. These extra JS_API annotations fix all those linker errors.
This commit is contained in:
ayeteadoe 2025-08-03 14:05:09 -07:00 committed by Andrew Kaster
commit 6dbb59da77
Notes: github-actions[bot] 2025-08-23 22:06:25 +00:00
13 changed files with 17 additions and 16 deletions

View file

@ -89,7 +89,7 @@ private:
};
// 16.2.1.4 Abstract Module Records, https://tc39.es/ecma262/#sec-abstract-module-records
class Module : public Cell {
class JS_API Module : public Cell {
GC_CELL(Module, Cell);
GC_DECLARE_ALLOCATOR(Module);