Skip to content
New issue

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

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

Already on GitHub? # to your account

Update parser #4

Merged
merged 9 commits into from
Feb 5, 2025
Merged

Conversation

mpapierski
Copy link
Collaborator

A couple of updates for the Wasm parser

  • Compatible with recent stable
  • Several performance improvements
  • Fixed compile errors for non-default feature flags

examples/data.rs Outdated
@@ -5,13 +5,14 @@ extern crate casper_wasm;

use std::env;

#[cfg(feature = "std")]
fn main() {
// Example executable takes one argument which must
// refernce the existing file with a valid wasm module

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in 'reference'

@@ -41,14 +41,15 @@ fn type_by_index(module: &Module, index: usize) -> FunctionType {
}
}

#[cfg(feature = "std")]
fn main() {
// Example executable takes one argument which must
// refernce the existing file with a valid wasm module

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same typo as above

@mpapierski mpapierski merged commit e72ec92 into casper-network:main Feb 5, 2025
6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants