Skip to content

Commit 77038f1

Browse files
committed
Add -Wno-experimental to samples build.
1 parent 62b91cc commit 77038f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ if (EMSCRIPTEN)
6060
append_linker_flags("--shell-file \"${CMAKE_SOURCE_DIR}/shell.html\"")
6161
append_linker_flags("-sTOTAL_STACK=16KB -sINITIAL_MEMORY=128KB")
6262
append_linker_flags("-sALLOW_MEMORY_GROWTH=1 -Wno-pthreads-mem-growth")
63+
append_linker_flags("-Wno-experimental")
6364
append_linker_flags("-sUSE_SDL=0 -sFILESYSTEM=0 -sAUTO_JS_LIBRARIES=0 -sDISABLE_EXCEPTION_THROWING=1")
6465
append_linker_flags("-lmath.js -lhtml5.js -lint53.js")
6566
append_linker_flags("--closure-args=--externs=${LIB_DIR}/webgpu-closure-externs.js")

0 commit comments

Comments
 (0)