Comments (6)
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.
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.
Should those builds be available at https://static.rust-lang.org/dist/index.html now?
from rust-cross.
@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.
@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.
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)
- read-only file system HOT 1
- Cross compiling from Windows to Linux HOT 8
- Remove references to deprecated multirust
- missing gcc-multilib HOT 2
- <3 HOT 1
- cross compilation from ubuntu linux to s390 HOT 2
- Confusion with https://github.com/japaric/cross
- Instructions for armv6 (Raspberry Pi 1 / Zero) HOT 3
- Target triple for Windows
- Tier 1 link in README doesn't go anywhere
- Missing header files when cross compiling to windows
- CloudABI support
- Update qemu to 2.12.0
- rust cross compile to riscv64gc
- Fix if example code isn't woking
- Build Failed: openssl-sys
- x86_64-unknown-linux-musl does not always produce statically linked binaries
- Best practices for testing cross-compiled targets?
- conttributing
- Cross compile fatal error: 'bits/libc-header-start.h' file not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-cross.