Wrap rustc invocations in the Tup backend to reflect build script outputs

RESOLVED FIXED in Firefox 64

Status

enhancement
RESOLVED FIXED
9 months ago
9 months ago

People

(Reporter: chmanchester, Assigned: chmanchester)

Tracking

(Blocks 1 bug)

Trunk
mozilla64
Dependency tree / graph

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

This covers a general solution to bug 1491169 as well as taking into account build script outputs such as cargo:rustc-cfg, cargo:include, cargo:rustc-env and friends.

The tentative plan is to capture the stdout of build script invocations in a file the tup backend knows about, and then pass that file to a wrapper that will parse it and execute the downstream rust compile with the appropriate flags and environment.
Comment on attachment 9010744 [details]
Bug 1492291 - Wrap rustc invocations in the tup backend to forward relevant info from cargo build script outputs.

Michael Shal [:mshal] has approved the revision.
Attachment #9010744 - Flags: review+

Comment 3

9 months ago
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b433242973a
Wrap rustc invocations in the tup backend to forward relevant info from cargo build script outputs. r=mshal

Comment 4

9 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/5b433242973a
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee

Updated

9 months ago
Depends on: 1494139
You need to log in before you can comment on or make changes to this bug.