Stream: t-compiler/help

Topic: std hacking without bootstrap


Dirkjan Ochtman (Jun 04 2020 at 19:02, on Zulip):

is there some straightforward path to do this today?

bjorn3 (Jun 04 2020 at 19:11, on Zulip):

I believe the command for that was ./x.py test --stage 0 src/libstd.

Dirkjan Ochtman (Jun 04 2020 at 19:52, on Zulip):

I couldn't find that in the rustc dev guide

Dirkjan Ochtman (Jun 04 2020 at 19:53, on Zulip):

is there some place I should have looked?

Dirkjan Ochtman (Jun 04 2020 at 19:57, on Zulip):

also that still requires pulling in the LLVM subtree thing :(

Dirkjan Ochtman (Jun 04 2020 at 20:26, on Zulip):

and apparently still needs cmake to be installed, which shouldn't be needed?

mark-i-m (Jun 04 2020 at 21:02, on Zulip):

@Dirkjan Ochtman No it's not in the guide, but we are working on adding it: https://github.com/rust-lang/rustc-dev-guide/pull/731

And, yes, it still requires pulling all of the submodules, which is annoying. I don't think you should need cmake, though, if you use system LLVM

mark-i-m (Jun 04 2020 at 21:03, on Zulip):

I was talk with simulacrum and they said it should be possible to streamline the process of contributing to std a lot (e.g. just using cargo eventually)

Last update: Sep 28 2020 at 16:00UTC