Giter Club home page Giter Club logo

Comments (3)

Robbepop avatar Robbepop commented on June 1, 2024

As it seems 7d135a6 fixes this issue. Will keep it open for some time if we find other sources of std.

from ink.

Robbepop avatar Robbepop commented on June 1, 2024

The newest problem of no_std incompatibility stems from depending on pdsl_core from pdsl_lang.
This caused problems with duplicate panic infrastructure since pdsl_lang brings its own since it is a proc_macro and compiles with Rust's standard library while pdsl_core is a no_std library by default that brings with it also its own panic infrastructure if compiled for no_std. Since cargo restricts crate dependencies for having shared crate features among the entire dependency tree we are not allowed to compile pdsl_core with std crate feature to fix this bug since then all other sources of pdsl_core in the entire dependency tree would also invalidly be compiled with this feature.

To fix this we had to create a new utility sub-crate called pdsl_utils that, for now, has the components that are required by pdsl_lang which is the hash module for keccak hashes. Later we can use this pdsl_utils module for other functionality that can be shared among pdsl_lang and other pDSL sub-crates.

from ink.

Robbepop avatar Robbepop commented on June 1, 2024

Fixed long time ago. Closed.

from ink.

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.