Skip to content

[builder] feat: implement upstream field for build.toml.#379

Open
sayakpaul wants to merge 9 commits intomainfrom
upstream-build-toml
Open

[builder] feat: implement upstream field for build.toml.#379
sayakpaul wants to merge 9 commits intomainfrom
upstream-build-toml

Conversation

@sayakpaul
Copy link
Member

@sayakpaul sayakpaul commented Mar 19, 2026

V1(v1::Build),
V2(v2::Build),
V3(v3::Build),
V3(Box<v3::Build>),
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I would just use #[allow(clippy::large_enum_variant)] on the enum. This isn't performance-sensitive code and having a Box in between is annoying.

@sayakpaul
Copy link
Member Author

@danieldk thanks for the tidbits! I think it's very cool that it warned me about a memory increase for a different type. Still lots to learn but please keep these golden suggestions coming!

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