Skip to content

Commit 87c41da

Browse files
Update README.md
1 parent a43bac8 commit 87c41da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ Scryer Prolog has basic WebAssembly support. You can follow `wasm-pack`'s [offic
188188

189189
However, none of the [default features](https://doc.rust-lang.org/cargo/reference/features.html#the-default-feature) are currently supported. The preferred way of disabling them is passing [extra options](https://rustwasm.github.io/wasm-pack/book/commands/build.html#extra-options) to `wasm-pack`.
190190

191+
Please note: Building can fail if there is not enough RAM (rustc will exit with "(signal: 9, SIGKILL: kill)", [see more](https://github.com/mthom/scryer-prolog/issues/3028)). This can be an issue, e.g. while building in Docker containers. Please make sure there is enough RAM by increasing the memory available for the docker process to e.g. 16 GB.
192+
191193
For example, if you want a minimal working package without using any bundler like `webpack`, you can do this:
192194
```
193195
wasm-pack build --target web -- --no-default-features

0 commit comments

Comments
 (0)