Skip to content

rustsec: use String to represent advisory arch and os - #1652

Merged
djc merged 2 commits into
mainfrom
platform-strings
Jul 23, 2026
Merged

rustsec: use String to represent advisory arch and os#1652
djc merged 2 commits into
mainfrom
platform-strings

Conversation

@djc

@djc djc commented Jul 23, 2026

Copy link
Copy Markdown
Member

As suggested in

@djc
djc requested review from LawnGnome, Shnatsel and tarcieri July 23, 2026 14:38

@Shnatsel Shnatsel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the alternative is Vec<Arch> that filters out the unknown ones on loading as opposed to preserving all in Vec<String>. And the string approach seems better to me. LGTM.

@djc
djc merged commit 74cf201 into main Jul 23, 2026
30 of 31 checks passed
@djc
djc deleted the platform-strings branch July 23, 2026 15:02
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