-
Notifications
You must be signed in to change notification settings - Fork 93
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
Xargo doesn't rebuild std automatically #139
Comments
Right, as Xargo main use case is building the (FWIW, I do use Xargo like this, for development of an alternative std, but for I simply put test binaries in the I'm not sure if I want Xargo to track the state of |
Think my situation is more complicated, my I can develop against my own
This doesn't seem too bad...? Taking the equivalent of your |
Just wanted to chime in and say that I've run into this issue as well. In particular, that |
I've (rather hackily) patched xargo to support this feature, see https://github.com/thepowersgang/xargo Haven't updated the documentation yet, but here's how you activate the new behaviour: (In Xargo.tml) [xargo]
track-sysroot = true # Enables maintaining and rebuilding of the sysroot crates
[xargo.stage1]
disable-staged-api = true # Disables `-Z force-unstable-if-unmarked` |
See https://github.com/1tgr/xargo-barebones for reference. This repo is a minimal Xargo-based project, with its own std.
Initial
xargo build
under 'app' works fine.If you modify libstd/src/lib.rs, then
xargo build
under 'app' should attempt to recompile 'libstd' followed by 'app'. Instead it does no work and returns straight away. This is clearer if you put invalid syntax in libstd; everything should be rebuilt and fail with an obvious compiler error, but instead it looks like everything worked.The text was updated successfully, but these errors were encountered: