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

PSA: Xargo is now in maintenance mode #193

Open
japaric opened this issue Jan 20, 2018 · 16 comments
Open

PSA: Xargo is now in maintenance mode #193

japaric opened this issue Jan 20, 2018 · 16 comments

Comments

@japaric
Copy link
Owner

japaric commented Jan 20, 2018

Also see the status updates below. Original announcement by original maintainer follows.


It actually has been in maintenance for a while but now I'm officially announcing it.

What does this mean?

It means that I am not going to add new features to Xargo or fix known papercuts. If you would like to work on that then I can add you as collaborator. I do, however, will fix future issues (hopefully zero of them), caused by nightly, that break my ARM Cortex-M development workflow.

What should I do now?

I have proposed adding Xargo's functionality to Cargo here. Doing that will fix the known papercuts (#189, #123, etc.) and make it easier to add desired features (e.g. #139). I suggest that you comment on that issue to get it green lighted and implemented (by someone other than me).

Why are you doing this?

Xargo was conceived as a temporary solution to the missing "build the sysroot" functionality in Cargo (cf. rust-lang/rfcs#1133). This is just me being firm about the "temporary" part.

@aturon
Copy link

aturon commented Jan 20, 2018

FWIW, the Cargo team is actively interested in incorporating Xargo's functionality this year.

@ofek
Copy link

ofek commented Aug 9, 2018

@aturon Any updates on this?

@aturon
Copy link

aturon commented Sep 17, 2018

@ofek This integration got punted, because we were able to land direct support for the platforms Xargo is typically used for. There's interest in doing this work in Cargo still, but not until 2019.

@johnthagen
Copy link
Contributor

@aturon Now that 2019 is here, are there any updates on this?

@aturon
Copy link

aturon commented Jan 31, 2019

There should be a blog post proposing a roadmap for Cargo coming out in the next couple of weeks (cc @nrc). I believe it touches on plans here as well.

@nrc
Copy link

nrc commented Feb 2, 2019

I would like this to be a key focus for Cargo in 2019. We're working on a more precise roadmap, but I discuss it in my recent blog post at https://www.ncameron.org/blog/cargos-next-few-years/

@dancrossnyc
Copy link

It would be really really great if this could happen.

@johnthagen
Copy link
Contributor

Linking to related RFC: std Aware Cargo

@androm3da
Copy link

I would like this to be a key focus for Cargo in 2019. We're working on a more precise roadmap, but I discuss it in my recent blog post at https://www.ncameron.org/blog/cargos-next-few-years/

As well as broad impact, I think we should focus on cross-compilation this year because:

So what's the current state? Does cargo+rustup already do everything we need for cross development?

@johnthagen
Copy link
Contributor

johnthagen commented Jun 14, 2020

Current status:

@johnthagen
Copy link
Contributor

build-std exists in nightly Rust

@RalfJung
Copy link
Collaborator

Xargo maintenance status update

The current status of xargo maintenance is as follows: we haven't seen @japaric in a while, so not sure how much they are still keeping their ARM Cortex-M development workflow working.

I am maintaining xargo for the purpose of Miri, which needs to check-build the official Rust standard library (unchanged). As long as Miri needs xargo, as part of maintaining Miri I will make sure this part of xargo keeps working. But I will likely not have time to work on issues that do not affect Miri. Your PRs are welcome as long as they keep CI green and don't break Miri. :)

@jethrogb
Copy link
Collaborator

As for me, my need for Xargo has basically gone away so any time I spend reviewing issues & PRs is solely community service.

@japaric
Copy link
Owner Author

japaric commented Jun 8, 2022

we haven't seen @japaric in a while, so not sure how much they are still keeping their ARM Cortex-M development workflow working.

ARM Cortex-M development has not needed Xargo, or nightly, since the 2018 edition. Any other kind of embedded / no-std development for custom targets and built-in targets that lack a pre-compiled rust-std component can be done using Cargo's -Z build-std feature. Personally, I'm not aware of a use case where Xargo is needed because it can not be served by -Z build-std; e.g. cargo-call-stack a tool that I maintain and requires re-compiling libstd with rustc's -Z emit-stack-sizes also uses -Z build-std.

EDIT: and if there's a use case not covered by -Z build-std it would be best to inform the Cargo team before the feature gets stabilized.

@RalfJung
Copy link
Collaborator

Another status update: Miri has stopped using xargo, so I will also not maintain xargo any more.

@AverseABFun
Copy link

AverseABFun commented Dec 9, 2024

@japaric, even now at the end of 2024 some people still use Xargo(and it's mentioned in the OSDev wiki for making an OS for raspberry pi in rust) and I'd like to be added as a maintainer so that I can try to fix known bugs and the such. I also would add features as they are requested.

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

No branches or pull requests

10 participants