Giter VIP home page Giter VIP logo

Comments (4)

dxps avatar dxps commented on June 26, 2024 1

That is correct. Ok, I'll try to find some time this weekend, see if I can get a clue about it. 😊

from cli.

mrxiaozhuox avatar mrxiaozhuox commented on June 26, 2024

We don't know how to fix this problem, but this warn info does not affect the project.

from cli.

dxps avatar dxps commented on June 26, 2024

It looks like that this warning is being thrown by the wasmparser, an indirect dependency.

For versions 0.59.0 or 0.77.0 (as per cargo tree) there is this code:

    pub(crate) fn read_name_type(&mut self) -> Result<NameType> {
        let code = self.read_var_u7()?;
        match code {
            0 => Ok(NameType::Module),
            1 => Ok(NameType::Function),
            2 => Ok(NameType::Local),
            _ => Err(BinaryReaderError::new(
                "Invalid name type",
                self.original_position() - 1,
            )),
        }
    }

Meanwhile, this part evolved (as shown here), and it knows about more NameType values.


The quick part of just updating wasm-bindgen-cli-support to v0.2.82 doesn't solve it as it still includes these older versions as shown below:

├── wasm-bindgen-cli-support v0.2.82
│   ├── anyhow v1.0.61
    ...
│   ├── walrus v0.19.0
│   │   ├── anyhow v1.0.61
        ...
│   │   └── wasmparser v0.77.0         <-----------
    ...
│   ├── wit-validator v0.2.1
│   │   ├── anyhow v1.0.61
│   │   ├── wasmparser v0.59.0         <-----------
        ...

from cli.

mrxiaozhuox avatar mrxiaozhuox commented on June 26, 2024

So we can only wait.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.