Comments (5)
Oh, yes, that seems quite appropriate. I remember seeing the announcement of cross a few months back, but didn't take a close look at it. I wonder why OpenSSL is listed as not applicable musl targets. I'll open an issue over there and reference this one. Thanks!
from muslrust.
Hey there, thanks again for the support.
Honestly though, I'm not convinced this project is actually necessary anymore.
What's your opinion of cross? It provides images like this one, but does it with a general tool that allows tons of architectures.
I can see the armv7-unknown-linux-musleabihf
target supported there, though apparently without openssl, but maybe it's a better place to start.
I'm kind of considering just redirecting people there and telling them to use cross build --target x86_64-unknown-linux-musl --release
instead. It is a more general solution.
from muslrust.
Just a note this works for building from a Mac/Windows as long as docker is installed where as cross does not so I do think this project still has legs. :)
from muslrust.
Oh nice, yeah that makes sense. I noticed later on that cross
mounts a bunch of cargo and rustup folders and relies on getting the toolchains updates outside the image. I haven't fully grokked how that actually works, but it's nice that you don't need to upgrade the images all the time. On the other hand, it's not great because you need to have rust set up outside of it to use it as you say.
I will keep posting updates to the images at least. Maybe it could actually be worth adding support for other images as well. Travis builds and dockerhub usage is free from my perspective at least 😏
from muslrust.
Going to close this for now. Hard enough maintaining this one :-)
Rather just focus on having this image work well for the major crates.
from muslrust.
Related Issues (20)
- Please rebuild "stable" less often or add a "LTS" version HOT 3
- What do you think about using tags like official Rust Docker image? HOT 1
- feature request: add protoc into the image HOT 3
- Add zlib-ng? HOT 4
- Changes needed to get rust-rdkafka built
- must-ar not executing successfully while building ring HOT 6
- Add test for latest tonic HOT 3
- Make builder cancellable with Ctrl-C? HOT 1
- Failed to find tool. Is `musl-g++` installed? HOT 1
- failed to compile diesel_cli in clux/muslrust image HOT 1
- WORKDIR defaults to /volume -- is this desired? HOT 1
- It would be awesome to use mold to build HOT 2
- What do you think about this anti-musl post? HOT 6
- How to disable `cc1: all warnings being treated as errors` HOT 1
- DNS errors in binaries built with muslrust when run in rootless Docker HOT 1
- Linker errors when building binaries (failed to set dynamic section sizes: bad value) HOT 5
- Unable to build prost due to old version of cmake on ubuntu:xenial HOT 3
- Build and fetch errors with clux/muslrust:1.60.0 HOT 18
- explore possibility of removing older C libraries
- explore building an arm64 variant HOT 4
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 muslrust.