[Pkg-rust-maintainers] Hi :)
sylvestre at debian.org
Sun Feb 15 18:00:08 UTC 2015
On 02/02/2015 02:10, Angus Lees wrote:
> On Fri Jan 30 2015 at 6:23:06 PM Luca Bruno <lucab at debian.org
> <mailto:lucab at debian.org>> wrote:
> On Thursday 29 January 2015 08:38:18 Sylvestre Ledru wrote:
> > > The main differences with the current packaging and mine are:
> > > (1) I build-dep on a hypothetical existing rustc package by
> > >
> > > and use build profiles to skip this and download stage0 at
> build time
> > > for bootstrapping.
> > Well, how do you manage that fact that builds don't have network
> I was trying to follow existing precedents of bootstrapping other
> toolchains and circular build-dependencies:
> In the distant future, the rustc package will clearly build-dep on
> rustc (>= some version) and this won't even be exciting. Just like
> bootstrapping other circular-dependent toolchains (eg: haskell,
> python), we need to apply some manual black-magic to bootstrap the
> first package and temporarily break that circular dependency.
> So: with my packaging, the "normal" build requires rustc already
> installed (and thus is impossible for the first packages, and likely
> also impossible once we correctly specify the (narrow!) range of rustc
> compilers required). Bootstrapping requires a manual build, and thus
> downloading off the internet at build-time seemed as bad as any other
> option - and easier to type ;)
> Putting aside the network issue, I'm also interested in looking at how
> flexible build-profiles are for supporting different bootstrapping
> I'm still new to it, though, so having a look at your work here
> would be
> Can you please push to some personal repo and post the link here?
> Yep, repo here:
I did a first merge from your work.
it is not perfect but it is a first step.
I will try to fix the various potential issues and upload a -2.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-rust-maintainers