-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building icu_locid with -Z save-analysis
causes ICE
#2971
Comments
There's no line number in the ICU4X context. Can it be reduced to a certain file or line? |
When dumping expr in rustc_save_analysis, it seems to be components/locid/src/extensions/transform/value.rs.
|
|
@makotokato Thoughts on this? |
For more background: save-analysis will probably gone in 2-3 releases. Searchfox should stop using it and look at alternatives, or disable Rust code xrefs. There is some ongoing work for a replacement, but it's not there yet. I guess in this particular case we can use the static value and add a fixme so that you're unblocked for now, but you really should talk to the searchfox team about this and let them know it's happening. |
@makotokato @nordzilla Thoughts on this? |
This is an optional. This faces when creating source code indexing, but this options will be removed by future version according to rust-lang/rust#101841 For searchfox, we will disable indexing on ICU4X code. |
Although this is rust compiler bug (similar to rust-lang/rust#97671), I file an issue to ICU4X. (if we have a workaround on ICU4X side, I think that it is better).
When building
icu_locid
with-Z save-analysis
, rustc causes ICE. Firefox CI uses-Z save-analysis
for searchfox (Firefox's source code indexer) task.STEP
RUSTFLAGS="-Z save-analysis" cargo nightly build -v
in components/locidRESULT
The text was updated successfully, but these errors were encountered: