Skip to content

[rustbuild] --verbose should print the environment variables used by rustc wrapper #38221

Closed
@nagisa

Description

@nagisa
Member

running rustbuild with --verbose prints the commands executed, but one cannot copy and run them manually, because the wrapper depends on various environment variables.

Thus the environment variables should also be printed out so one could set them and be able to run the wrapper manually.

Activity

est31

est31 commented on Dec 7, 2016

@est31
Member

👍 At least the relevant ones should be printed, like all the RUSTC_* ones. This would be very useful for debugging (did this locally already to debug something).

added
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
on Dec 8, 2016
nagisa

nagisa commented on Feb 16, 2017

@nagisa
MemberAuthor

@nikomatsakis hit it as well.

The most painless soln' would probably be something like --shell-on-fail flag which launches a shell with necessary variables set.

added a commit that references this issue on Feb 16, 2017
0e45a5e
added 2 commits that reference this issue on Feb 17, 2017

Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

79d4c84

Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

4521406
added a commit that references this issue on Feb 23, 2017

Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

6f16bc3
added 2 commits that reference this issue on Feb 25, 2017

Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

6547e3d

Rollup merge of rust-lang#39888 - nagisa:on-fail-bootstrap, r=alexcri…

e31d464
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @sanxiyn@nagisa@est31

      Issue actions

        [rustbuild] --verbose should print the environment variables used by rustc wrapper · Issue #38221 · rust-lang/rust