Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 08-wasm with libwasmvm linking disabled #5903

Closed
3 tasks
damiannolan opened this issue Feb 26, 2024 · 3 comments · Fixed by #5923
Closed
3 tasks

Build 08-wasm with libwasmvm linking disabled #5903

damiannolan opened this issue Feb 26, 2024 · 3 comments · Fixed by #5923
Assignees
Labels
08-wasm type: refactor Architecture, code or CI improvements that may or may not tackle technical debt.

Comments

@damiannolan
Copy link
Member

Summary

Similarly to x/wasm add a NewKeeper constructor func for 08-wasm which panics when used. This should be guarded by the: //go:build !cgo build flags.

Additionally, we can add //go:build csgo for the keeper file which already exists.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@damiannolan damiannolan added type: refactor Architecture, code or CI improvements that may or may not tackle technical debt. 08-wasm labels Feb 26, 2024
@damiannolan damiannolan added this to the v9.0.0 milestone Feb 26, 2024
@damiannolan
Copy link
Member Author

This should allow users to consume types without needing the entire CGO stack for wasmvm.

@damiannolan
Copy link
Member Author

We have chosen to use a separate build tag ibcwasm_novm instead of completely disabling cgo. It's possible that a binary may need cgo dependencies as well as wanting 08-wasm types only available to them

@damiannolan damiannolan changed the title Build 08-wasm without cgo option Build 08-wasm with libwasmvm linking disabled Mar 20, 2024
@damiannolan
Copy link
Member Author

Renamed the issue to reflect the desired behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
08-wasm type: refactor Architecture, code or CI improvements that may or may not tackle technical debt.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants