Skip to content

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Sep 16, 2025

No description provided.

@NickeZ NickeZ requested a review from benma September 16, 2025 08:22
Copy link
Collaborator

@benma benma left a comment

Choose a reason for hiding this comment

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

Why not just always enable them instead of via env? Too annoying during development?


// If user enables -Dwarnings for rust we also want to enable -Werror for C.
if let Ok(rustflags) = std::env::var("CARGO_ENCODED_RUSTFLAGS") {
for flag in rustflags.split('\x1f') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤯

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They like doing things the right way over at rust land.

https://codepoints.net/U+001F?lang=en

}

static uint8_t _salt_root[32] = {
uint8_t _salt_root[32] = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove underscore, we normally use it to recognize statics.

@NickeZ
Copy link
Collaborator Author

NickeZ commented Sep 16, 2025

Why not just always enable them instead of via env? Too annoying during development?

Yes, I definitely don't want to fix every single lint before I can test out code.

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