Skip to content

Preserve attributes on interned/tracked struct fields #905

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

Merged
merged 2 commits into from
Jun 10, 2025

Conversation

puuuuh
Copy link
Contributor

@puuuuh puuuuh commented Jun 8, 2025

Fixes #728 and #895

Copy link

netlify bot commented Jun 8, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 31149b5
🔍 Latest deploy log https://app.netlify.com/projects/salsa-rs/deploys/68473c54e124e600081fae64

Copy link

codspeed-hq bot commented Jun 8, 2025

CodSpeed Performance Report

Merging #905 will not alter performance

Comparing puuuuh:master (31149b5) with master (8d3455f)

Summary

✅ 12 untouched benchmarks

@puuuuh puuuuh changed the title Preserve attributes on interned/tracked structs Preserve attributes on interned/tracked struct fields Jun 8, 2025
@MichaReiser
Copy link
Contributor

Nice, For #728, is this already "fixed" for regular salsa queries or input structs?

@puuuuh
Copy link
Contributor Author

puuuuh commented Jun 9, 2025

Nice, For #728, is this already "fixed" for regular salsa queries or input structs?

Completely forgot about inputs. For queries we already pass all attributes to generated code

@MichaReiser
Copy link
Contributor

MichaReiser commented Jun 9, 2025

Completely forgot about inputs. For queries we already pass all attributes to generated code

Do you plan on doing this as part of this PR or prefer someone else doing it?

@MichaReiser
Copy link
Contributor

Thank you

@MichaReiser MichaReiser added this pull request to the merge queue Jun 10, 2025
Merged via the queue into salsa-rs:master with commit 8924db1 Jun 10, 2025
12 checks passed
@github-actions github-actions bot mentioned this pull request Jun 10, 2025
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.

Unknown annotations in salsa::tracked structs do not lead to an error
2 participants