Giter Site home page Giter Site logo

static arm musl about rust-cross HOT 6 CLOSED

japaric avatar japaric commented on June 15, 2024
static arm musl

from rust-cross.

Comments (6)

japaric avatar japaric commented on June 15, 2024

How about an arm HF target with static linking via musl?

These targets are not in the compiler yet (not in rustc --print target-list). But there is a PR that adds them: rust-lang/rust#33189.

After that we need to set the infrastructure to build std binaries for those targets. When that is done, you should be able to use the instructions here.

from rust-cross.

japaric avatar japaric commented on June 15, 2024

The ARM musl targets landed in rust-lang/rust#35060. Required infrastructure work also landed in rust-lang-deprecated/rust-buildbot#109. Binary releases of std for these targets should become available in the next days or weeks.

from rust-cross.

herrernst avatar herrernst commented on June 15, 2024

Should those builds be available at https://static.rust-lang.org/dist/index.html now?

from rust-cross.

japaric avatar japaric commented on June 15, 2024

@herrernst Sadly, not yet. There were some extra changes needed to support building binaries for several musl targets on the same machine/buildbot that landed just recently (rust-lang/rust#36292). But I think it should be good to go now. Pinging @alexcrichton as a reminder to enable ARM MUSL builds on the production buildbots 😄.

from rust-cross.

alexcrichton avatar alexcrichton commented on June 15, 2024

@japaric oh right now adding the ARM MUSL builds aren't trivial unfortunately b/c of the musl-root business. The easiest way to add the builder is to add it to the linux-cross image, but we'd just need to add build system support to bootstrap a bunch of arm musl targets with a bunch of others all at once.

from rust-cross.

polarathene avatar polarathene commented on June 15, 2024

Did anyone get static builds with MUSL on ARM? Just ran into an issue with an old embedded OS(2014, distro no longer receives updates) for armv7 not working due to libc being too old on the system.

EDIT: Nevermind, seems the readme docs here haven't been touched since 2017, afaik the ones here on a similar project are where everything happens now.

from rust-cross.

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.