chore: Enable with_rive_scripting flag for wasm (#11329) 8e395d6bb0

Co-authored-by: Philip Chung <philterdesign@gmail.com>
This commit is contained in:
philter
2026-01-06 19:06:14 +00:00
parent 66c35233ff
commit fafd66788a
3 changed files with 31 additions and 18 deletions

View File

@@ -1 +1 @@
8f9dae9f361595302907e90ef18335b66c83d988
8e395d6bb04b096d0fcf308113c5458e7722e19c

View File

@@ -174,3 +174,8 @@ newoption({
trigger = 'with_rive_layout',
description = 'Compiles in layout features.',
})
newoption({
trigger = 'with_rive_docs',
description = 'Indicates building for use with the docs generator.',
})

View File

@@ -38,6 +38,13 @@ end
project('luau_compiler')
do
kind('None')
filter({
'options:with_rive_tools or options:with_rive_docs',
'options:not flutter_runtime or options:with_rive_docs'
})
do
kind('StaticLib')
exceptionhandling('On')
@@ -58,6 +65,7 @@ do
do
defines({ 'LUAU_ENABLE_ASAN' })
end
end
end
return { luau = luau, libhydrogen = libhydrogen }