Commit-Queue | +1 |
Fuchsia-Auto-Submit | +1 |
[version-history] Move users to version_history_static::HISTORY.
Hunter FreyerIt's not obvious to me that "static" means it includes the actual version data. Is there a better way to convey this - and perhaps that doing so has build implications?
Similarly, would `.../version-history...types` be better than the more generic `version_history` target that doesn't actually contain history?
As discussed, renamed the "static" library to "data" in fxrev.dev/1088435
[version-history] Move users to version_history_static::HISTORY.
Hunter FreyerIs this moving all users or just those that need more than the types? Please clarify.
Done.
"//src/lib/versioning/version-history/rust/static",
Hunter FreyerThis lib seems likely to be widely depended on. I wonder if simplifying the single error message would be preferable. (This is out of scope for this CL.)
Yeah, I had another CL to remove it, but it's less urgent now that I'm pursuing the "daily rotation" idea.
"//src/lib/versioning/version-history/rust",
Hunter FreyerIs this not indirectly deps'd by the new line? Maybe not until the next CL? Should we add that deps now so we can remove these in this CL?
Indirect dependencies aren't a thing in Rust. Libraries that use both crates need to import both.
"//src/lib/versioning/version-history/rust/static",
Hunter FreyerJust checking that only tests need the actual data, and the code needs the types (line 37). Is that right?
There are no non-test instances of `version_history`. Do the types have other names?
I'm not sure what you mean. `resolver.rs` uses `version_history` here: https://fuchsia.googlesource.com/fuchsia/+/refs/changes/73/1084573/7/src/lib/fuchsia-component-test/realm_builder_server/src/resolver.rs#16
Generally speaking, Rust won't let you mess this up. If you use a crate, you need to depend on it. If you don't use it, you can't depend on it.
"//src/lib/versioning/version-history/rust",
Hunter FreyerSimilar question about indirect deps here and in several other files below.
Acknowledged
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
7 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[version-history] Move users to version_history_data::HISTORY.
All the changes are trivial, moving from one library to the other. The
next CL will remove version_history::HISTORY, improving cache hits for
targets that just depend on the version_history types, not the data.
Bug: 353952180
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Change has been successfully rolled: http://go/roll-cl/31e45a62f3d61a91c91813b501bd3f3e84234a61
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |