Skip to content

Commit 146c06d

Browse files
added tags and updated doc
1 parent 532a216 commit 146c06d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tutorials/export/feature_tags.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ Here is a list of most feature tags in Godot. Keep in mind they are **case-sensi
108108
+--------------------+----------------------------------------------------------+
109109
| **web** | Host OS is a Web browser |
110110
+--------------------+----------------------------------------------------------+
111+
| **nothreads** | Running without threads support |
112+
+--------------------+----------------------------------------------------------+
113+
| **threads** | Running with threads support |
114+
+--------------------+----------------------------------------------------------+
111115
| **web_android** | Host OS is a Web browser running on Android |
112116
+--------------------+----------------------------------------------------------+
113117
| **web_ios** | Host OS is a Web browser running on iOS |

tutorials/scripting/gdextension/gdextension_file.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ Here is an example of what that can look like:
6868
6969
Here are lists of some of the available built-in options (for more look at the :ref:`feature tags <doc_feature_tags>`):
7070

71+
Tags that have a `no` suffix (like `nothreads`) should be placed after their
72+
counterparts since they are evaluated in order. Like so:
73+
74+
.. code-block:: none
75+
76+
[libraries]
77+
78+
web.release.threads.wasm32 = "res://bin/libgdexample.web.template_release.wasm32.wasm"
79+
web.release.nothreads.wasm32 = "res://bin/libgdexample.web.template_release.wasm32.nothreads.wasm"
80+
7181
Running system
7282
~~~~~~~~~~~~~~
7383

0 commit comments

Comments
 (0)