Closed Bug 1507047 Opened 6 years ago Closed 6 years ago

gl_bindings.rs not present in public/build/target.generated-files.tar.gz

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: roc, Assigned: ted)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is generated by the Rust `gleam` crate. It's not packaged in public/build/target.generated-files.tar.gz so developers can't get the source that was used to build it in a CI build.
Isn't that true of all sources generated by rust build scripts?
Quite possibly. This is just the one I happened to notice.
This used to work, I think we broke it:
https://dxr.mozilla.org/mozilla-central/rev/237e4c0633fda8e227b2ab3ab57e417c980a2811/python/mozbuild/mozbuild/generated_sources.py#49-58

We changed the cargo target dir in bug 1499196 but didn't change that to match (oops):
https://hg.mozilla.org/integration/autoland/rev/470e06d78a7b

It would be nicer if build scripts declared their outputs and we didn't have to grovel around for them. :-/
Blocks: 1499196
Assignee: nobody → ted
Blocks: 1507187
Pushed by tmielczarek@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c63f0e550487
fix packaging of generated Rust sources. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/c63f0e550487
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: