aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-06-29 23:09:49 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-06-29 23:15:31 +0200
commit604551eb2d106d64eb9159bc17aa5c57bbca0ca4 (patch)
tree27ca9e57f7091af156f86f01311928567d01e4a9 /examples
parent476d0087c8d47102c23cf6de71eb4014b9a7b6b2 (diff)
wasi: make the demo run on wasi and run it in CI
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index e27686099..0ad9f4ab0 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -1140,6 +1140,7 @@ prefix_table := [?]string{
print_mutex := b64(false)
+@(disabled=!thread.IS_SUPPORTED)
threading_example :: proc() {
fmt.println("\n# threading_example")