Skip to content

Commit

Permalink
imp: adjust build directives to be more flexible, allowing cgo but di…
Browse files Browse the repository at this point in the history
…sabling libwasmvm linking
  • Loading branch information
damiannolan committed Mar 20, 2024
1 parent e074d03 commit 1dba29f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ibc_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !nolink_libwasmvm

package cosmwasm

Expand Down
2 changes: 1 addition & 1 deletion lib.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !nolink_libwasmvm

// This file contains the part of the API that is exposed when cgo is enabled.

Expand Down
2 changes: 1 addition & 1 deletion lib_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !nolink_libwasmvm

package cosmwasm

Expand Down
2 changes: 1 addition & 1 deletion version_cgo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !nolink_libwasmvm

package cosmwasm

Expand Down
2 changes: 1 addition & 1 deletion version_no_cgo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !cgo
//go:build !cgo || nolink_libwasmvm

package cosmwasm

Expand Down

0 comments on commit 1dba29f

Please sign in to comment.