Closed
Bug 2053847
Opened 2 months ago
Closed 1 month ago
XPIDL-generated Rust code is not indexed
Categories
(Webtools :: Searchfox, defect)
Webtools
Searchfox
Tracking
(firefox155 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: nicolas.guichard, Assigned: nicolas.guichard)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
| Assignee | ||
Comment 1•2 months ago
|
||
The short story is that those files are used via the include! macro and rust-analyzer doesn't add tokens from macro call expansions to the SCIP occurrences. When the expansion includes definitions, it means we don't get symbol definitions in the output either.
I'm working on a patch upstream to fix that.
| Assignee | ||
Comment 2•2 months ago
|
||
Assignee: nobody → nicolas.guichard
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•2 months ago
|
||
This is a follow-up of bug 1586036.
Pushed by nicolas.guichard@kdab.com:
https://github.com/mozilla-firefox/firefox/commit/3ac6c32c8421
https://hg.mozilla.org/integration/autoland/rev/27c2a3190b63
Add obj-dir/dist/xpcrs/rt|bt/all.rs files to generated-sources.json. r=ahochheiden
Comment 5•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•