GithubHelp home page GithubHelp logo

#![no_std] support about addr2line HOT 6 CLOSED

gimli-rs avatar gimli-rs commented on June 26, 2024
#![no_std] support

from addr2line.

Comments (6)

est31 avatar est31 commented on June 26, 2024

leaving this to @philipc as they said they had done work on this.

from addr2line.

philipc avatar philipc commented on June 26, 2024

Dependencies need to be #![no_std] too. These are done:

  • gimli
  • fallible-iterator
  • object
  • intervaltree
  • smallvec
  • rustc-demangle

To do:

  • lazy-init
  • cpp_demangle

An alternative to lazy-init is https://github.com/indiv0/lazycell, but it doesn't have no_std support either.

from addr2line.

est31 avatar est31 commented on June 26, 2024

Thanks @philipc added lazy-init and cpp_demangle to #89. I'm giving cpp_demangle a shot.

from addr2line.

est31 avatar est31 commented on June 26, 2024

cpp_demangle supports #![no_std] now, see #89.

As for lazy-init: it uses a mutex internally, which doesn't seem to exist on libcore. lazycell on the other hand uses atomics, which do exist on libcore. So it should be easier to port lazycell.

from addr2line.

philipc avatar philipc commented on June 26, 2024

Found one more: Storyyeller/stable_deref_trait#2. This will need a gimli update too. Pretty sure that's the last of them though.

from addr2line.

est31 avatar est31 commented on June 26, 2024

Oh, probably this PR of mine won't compile successfully then: gimli-rs/gimli#306

from addr2line.

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.