Code Monkey home page Code Monkey logo

Comments (11)

therustmonk avatar therustmonk commented on April 28, 2024 2

Ok, I'll revert the first version of service and hide the current fetch under feature.

from yew.

anxiousmodernman avatar anxiousmodernman commented on April 28, 2024 2

The referenced PR to iovec has landed. I'm playing around with yew master branch and, while I used to need machineloop's fork to build, I don't anymore.
yewmaster

from yew.

anykao avatar anykao commented on April 28, 2024 1

Yes, confirmed. There is no more errors after cargo update.
I'll close this issue since the upstream is patched.

from yew.

koute avatar koute commented on April 28, 2024

Yep. The iovec crate checks for #[cfg(unix)] and #[cfg(windows)], and since the wasm32-unknown-unknown doesn't define either the sys namespace is empty.

Although I'm not sure what would be the point of using iovec on a target which has no use for it, so perhaps an issue should be raised in the crate which depends on the iovec?

from yew.

machineloop avatar machineloop commented on April 28, 2024

Might be worth reverting #95, while we wait for upstream fix.

from yew.

Arnavion avatar Arnavion commented on April 28, 2024

FYI the iovec fix PR is carllerche/iovec#10

from yew.

machineloop avatar machineloop commented on April 28, 2024

When I test things out with the iovec PR mentioned above, using [replace] in an example project cargo.toml

[replace]
"iovec:0.1.1" = { git = 'https://github.com/dflemstr/iovec', branch = 'wasm-support' }

I get the following errors in bytes:

screen shot 2018-01-15 at 4 58 05 pm

from yew.

Arnavion avatar Arnavion commented on April 28, 2024

@machineloop You can't [replace] iovec 0.1.1 with its git master. There was a breaking change to remove the From<[u8]> impls that will be released with a version-bump eventually.

from yew.

machineloop avatar machineloop commented on April 28, 2024

Thanks @Arnavion, I didn't realize there were breaking changes that hadn't been cut into an IoVec release. I took the proposed Wasm support and cherry picked the commits onto the last stable release in a fork, see the PR here: #110

from yew.

Roba1993 avatar Roba1993 commented on April 28, 2024

How is the status on this bug here?

from yew.

gabisurita avatar gabisurita commented on April 28, 2024

@Roba1993 I think this fix is probably waiting for an IoVec release.
carllerche/iovec#13

from yew.

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.