Skip to content

internal: use portable-atomic in IngredientCache to compile on powerpc-unknown-linux-gnu #749

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

Conversation

davidbarsky
Copy link
Contributor

@davidbarsky davidbarsky commented Mar 7, 2025

rust-analyzer compiles on powerpc-unknown-linux-gnu. Since #687, Salsa does not.

However, since the Rust Project considers powerpc-unknown-linux-gnu to be a Tier 2 platform with host tool support, we really should avoid breaking folks on that platform!

For context, see this discussion on Zulip.

Copy link

netlify bot commented Mar 7, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit c149464
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/67cb47020e62f70008d14b8c

Copy link

codspeed-hq bot commented Mar 7, 2025

CodSpeed Performance Report

Merging #749 will not alter performance

Comparing davidbarsky:davidbarsky/depend-on-portable-atomic (c149464) with master (9d2a978)

Summary

✅ 11 untouched benchmarks

@davidbarsky davidbarsky requested a review from Veykril March 7, 2025 19:27
@davidbarsky
Copy link
Contributor Author

It looks like portable-atomic effectively treats this the item a lock on 32 bit platforms; we can always vendor.

@davidbarsky davidbarsky added this pull request to the merge queue Mar 7, 2025
Merged via the queue into salsa-rs:master with commit dbb0e5f Mar 7, 2025
11 checks passed
@davidbarsky davidbarsky deleted the davidbarsky/depend-on-portable-atomic branch March 7, 2025 20:07
@github-actions github-actions bot mentioned this pull request Mar 6, 2025
carljm added a commit to carljm/salsa that referenced this pull request Mar 8, 2025
* master:
  internal: use `portable-atomic` in `IngredientCache` to compile on `powerpc-unknown-linux-gnu` (salsa-rs#749)
  perf: Store view downcaster in function ingredients directly (salsa-rs#720)
  perf: Some small perf things (salsa-rs#744)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants