Coder Social home page Coder Social logo

Broken by recent rustc nightly. about coroutine-rs HOT 7 CLOSED

dpc avatar dpc commented on September 4, 2024
Broken by recent rustc nightly.

from coroutine-rs.

Comments (7)

llacroix avatar llacroix commented on September 4, 2024

Methods in std::rt moved to std::sys_common and some to std::os. Yet the sys module is private and methods that are needed in coroutine-rs can't be used anymore.

from coroutine-rs.

zonyitoo avatar zonyitoo commented on September 4, 2024

Yes, indeed. What's your suggestion?

from coroutine-rs.

llacroix avatar llacroix commented on September 4, 2024

Not sure if it's possible, but some methods could be reimplemented in the crate by itself. Yet there is an issue in the rust project on github to make some api in sys public instead of private.

from coroutine-rs.

dpc avatar dpc commented on September 4, 2024

My suggestion is to contact core team, and talk about it. They are very nice people and I'm sure they care about being able to express what this coroutine-rs is doing.

from coroutine-rs.

zonyitoo avatar zonyitoo commented on September 4, 2024

Tracking: rust-lang/rust#28726

from coroutine-rs.

zonyitoo avatar zonyitoo commented on September 4, 2024

It seems that I could use std::thread::catch_panic to make it works right now. Please check the latest commit.

from coroutine-rs.

llacroix avatar llacroix commented on September 4, 2024

Seems to be working fine. Thanks

from coroutine-rs.

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.