Skip to content

Commit 2e26743

Browse files
committed
chore: update README.md with nolink_libwasmvm doc
1 parent 1dba29f commit 2e26743

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ go build .
9090
CGO_ENABLED=0 go build .
9191
```
9292

93+
In the case that it may be desirable to compile with cgo, but with libwasmvm linking disabled an additional build tag is available.
94+
95+
```sh
96+
# Build with CGO, but with libwasmvm linking disabled
97+
go build -tags "nolink_libwasmvm"
98+
```
99+
93100
## Supported Platforms
94101

95102
See [COMPILER_VERSIONS.md](docs/COMPILER_VERSIONS.md) for information on Go and

0 commit comments

Comments
 (0)