Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed warning with raw_pointer_derive #337

Closed
wants to merge 1 commit into from
Closed

Fixed warning with raw_pointer_derive #337

wants to merge 1 commit into from

Conversation

Razican
Copy link

@Razican Razican commented Mar 31, 2016

There is no need to allow raw_pointer_derive, and it gives a warning in Rust stable. This fixes that warning.

@fiveop
Copy link
Contributor

fiveop commented Mar 31, 2016

The CI result shows you why we cannot just remove it. We currently support older versions of rust, where the error was still a thing.

@kamalmarhubi
Copy link
Member

I had a plan for this, but I forgot what it was!

kamalmarhubi added a commit to kamalmarhubi/nix-rust that referenced this pull request Apr 1, 2016
This commit adds a small build script to detect if we need to
`#[allow(raw_pointer_derive)]` and makes the attribute conditional.

Refs nix-rust#337
kamalmarhubi added a commit to kamalmarhubi/nix-rust that referenced this pull request Apr 2, 2016
This commit adds a small build script to detect if we need to
`#[allow(raw_pointer_derive)]` and makes the attribute conditional.

Refs nix-rust#337
homu added a commit that referenced this pull request Apr 2, 2016
…=posborne

Fix raw_pointer_derive warning

This commit adds a small build script to detect if we need to
`#[allow(raw_pointer_derive)]` and makes the attribute conditional.

Refs #337
@homu
Copy link
Contributor

homu commented Apr 2, 2016

☔ The latest upstream changes (presumably #340) made this pull request unmergeable. Please resolve the merge conflicts.

@posborne posborne closed this Apr 2, 2016
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.

5 participants