Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Redox #427

Closed
briansmith opened this issue May 22, 2020 · 3 comments
Closed

Add support for Redox #427

briansmith opened this issue May 22, 2020 · 3 comments

Comments

@briansmith
Copy link
Contributor

Apparently this is how people commonly test things in Redox:

cargo install redoxer
redoxer toolchain
redoxer test

It would be nice to be able to do the equivalent of that using cross instead.

@briansmith
Copy link
Contributor Author

There is also a Dockerfile already: https://github.com/redox-os/redoxer/blob/master/Dockerfile.

@asomers
Copy link

asomers commented Jun 12, 2020

redoxer is a pretty heavyweight solution. And in my experience, it often hangs. I think it would be worthwhile for cross to add compile-only support for Redox, much like it currently has for NetBSD.

asomers added a commit to asomers/nix that referenced this issue Jun 27, 2020
It's unreliable.  It frequently hangs starting the Docker image, before
Cargo gets involved.  Instead, use cargo to do a cross-build for Redox.
Do it manually, since rust-embedded/cross doesn't support Redox.

nix-rust#1258
cross-rs/cross#427
asomers added a commit to asomers/nix that referenced this issue Jun 27, 2020
It's unreliable.  It frequently hangs starting the Docker image, before
Cargo gets involved.  Instead, use cargo to do a cross-build for Redox.
Do it manually, since rust-embedded/cross doesn't support Redox.

nix-rust#1258
cross-rs/cross#427
asomers added a commit to asomers/nix that referenced this issue Jun 27, 2020
It's unreliable.  It frequently hangs starting the Docker image, before
Cargo gets involved.  Instead, use cargo to do a cross-build for Redox.
Do it manually, since rust-embedded/cross doesn't support Redox.

nix-rust#1258
cross-rs/cross#427
bors bot added a commit to nix-rust/nix that referenced this issue Jun 30, 2020
1263: Don't run redoxer in CI r=asomers a=asomers

It's unreliable.  It frequently hangs starting the Docker image, before
Cargo gets involved.  Instead, use cargo to do a cross-build for Redox.
Do it manually, since rust-embedded/cross doesn't support Redox.

#1258
cross-rs/cross#427

Co-authored-by: Alan Somers <asomers@gmail.com>
@Alexhuszagh
Copy link
Contributor

We've now documented how to use redoxer with cross, but this is too heavyweight of a solution to use by default with cross itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants