Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Conversation

@geofft
Copy link
Collaborator

@geofft geofft commented Aug 9, 2020

Add an assertion that doing so is safe.
See rust-lang/rust-bindgen#1671

Can't use static_assert from <linux/build_bug.h> because that's
5.1+-only, but the underlying _Static_assert compiler builtin is
available widely.
See torvalds/linux@6bab69c

@geofft geofft requested a review from alex August 9, 2020 20:37
Cargo.toml Outdated

[build-dependencies]
bindgen = "0.51.0"
bindgen = "*"
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we should be unpinning. I think we should bump the pin and maybe add depndabot.

Add an assertion that doing so is safe.
See rust-lang/rust-bindgen#1671

Can't use static_assert from <linux/build_bug.h> because that's
5.1+-only, but the underlying _Static_assert compiler builtin is
available widely.
See torvalds/linux@6bab69c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants