File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -115,23 +115,27 @@ revision numbers, respectively); omit the packages you won't use.
115
115
:hash: source-njs
116
116
117
117
To build Unit with `njs <https://nginx.org/en/docs/njs/ >`__ support,
118
- download the :program: `njs ` code
119
- to the same parent directory
118
+ download the :program: `njs ` code to the same parent directory
120
119
as the Unit code.
121
120
121
+ **0.8.2 ** is the latest version of :program: `njs ` that Unit supports.
122
+ Make sure to check out the correct branch before configuring the binaries.
123
+
122
124
If you'd like to use `Mercurial <https://www.mercurial-scm.org/downloads >`_:
123
125
124
126
.. code-block :: console
125
127
126
128
$ cd ..
127
129
$ hg clone https://hg.nginx.org/njs
130
+ $ hg update -r 0.8.2
128
131
129
132
If you prefer `Git <https://git-scm.com/downloads >`_:
130
133
131
134
.. code-block :: console
132
135
133
136
$ cd ..
134
137
$ git clone https://github.com/nginx/njs
138
+ $ git checkout 0.8.2
135
139
136
140
Next, configure and build the :program: `njs ` binaries:
137
141
@@ -166,7 +170,7 @@ revision numbers, respectively); omit the packages you won't use.
166
170
.. warning ::
167
171
The **unit-wasm ** module is deprecated.
168
172
We recommend using **wasm-wasi-component ** instead,
169
- available in Unit 1.32.0 and later, which supports
173
+ available in Unit 1.32.0 and later, which supports
170
174
WebAssembly Components using standard WASI 0.2 interfaces.
171
175
172
176
To build Unit with the `WebAssembly <https://webassembly.org >`__
You can’t perform that action at this time.
0 commit comments