Skip to content

Commit 79e4627

Browse files
committed
Update docs of lib.go/lib_no_cgo.go
1 parent 7465b37 commit 79e4627

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//go:build cgo && !nolink_libwasmvm
22

3-
// This file contains the part of the API that is exposed when cgo is enabled.
3+
// This file contains the part of the API that is exposed when libwasmvm
4+
// is available (i.e. cgo is enabled and nolink_libwasmvm is not set).
45

56
package cosmwasm
67

lib_no_cgo.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// This file contains the part of the API that is exposed when cgo is disabled.
1+
// This file contains the part of the API that is exposed no matter if libwasmvm
2+
// is available or not. Symbols from lib.go are added conditionally.
23

34
package cosmwasm
45

0 commit comments

Comments
 (0)