Closed Bug 1545968 Opened 5 years ago Closed 5 years ago

Index rust stdlib

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(firefox68 fixed)

RESOLVED FIXED
Tracking Status
firefox68 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(2 files)

Emilio had written some WIPs to index the rust standard library in searchfox, so that if you're poking around in m-c's rust code, you can seamlessly navigate to definitions of stuff in the standard library as well. His WIPs are at https://github.com/mozsearch/mozsearch/pull/123 - at some point I rebased them and ran into some problems because we switched to pulling artifacts from taskcluster instead of building on the searchfox indexer. However I picked this up again yesterday and got it working (currently deployed to https://dev.searchfox.org). Filing this bug to get it landed.

This makes the rust toolchain artifacts contain the rust stdlib as well,
for use by searchfox. It does bring up the size of the toolchain
artifact slightly - rustc.tar.xz file for the Linux/rust 1.34 job for
example goes from 270483672 bytes to 273803148 bytes (1.23% larger) and
the equivalent android tarball goes from 230503888 to 235698736 bytes
(2.25% larger).

Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/588a1949ec96
Update repack_rust.py to include rust stdlib src and analysis data. r=glandium
Backout by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/50f2bf78b087
Backed out changeset 588a1949ec96 as per kats request. CLOSED TREE
Attachment #9059689 - Attachment is obsolete: true
Attachment #9059689 - Attachment is obsolete: false
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f1ace2853a4c
Update repack_rust.py to include rust stdlib src and analysis data. r=glandium
https://hg.mozilla.org/integration/autoland/rev/f17162f343b6
Produce artifacts with the rust stdlib src and analysis data for consumption by searchfox. r=glandium

This is all deployed now, on m-c. I can turn it on for beta once the patches ride the train there.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: