Closed Bug 1492291 Opened 6 years ago Closed 6 years ago

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

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: chmanchester, Assigned: chmanchester)

References

Details

Attachments

(1 file)

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+
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
https://hg.mozilla.org/mozilla-central/rev/5b433242973a
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: