Skip to content

Upgrade CI (clippy, more targets) #52

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

Merged
merged 7 commits into from
Mar 12, 2019
Merged

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Mar 8, 2019

No description provided.

local-dir: target/doc
keep-history: false
on:
branch: master
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if you are interested into deploying the docs with the nightly features to github-pages. If not I can just remove the deploy key. Otherwise, you'd need to generate a token and push it to travis as GITHUB_TOKEN.

Copy link
Member

Choose a reason for hiding this comment

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

I think the only difference is that HashMap::new is const fn on nightly. Not worth a completely separate set of docs IMO.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought the serde and rayon features would add more stuff. I'll remove the deploy key then.

Copy link
Member

Choose a reason for hiding this comment

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

Oh! I forgot about those! Yes, please do keep the docs in that case.

Group(ptr::read(ptr as *const _))
#[allow(clippy::cast_ptr_alignment)]
pub unsafe fn load_aligned(ptr: *const u8) -> Self {
// FIXME: use align_offset once it stabilizes
Copy link
Member

Choose a reason for hiding this comment

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

What do we need align_offset for? The current code seems to work fine in miri.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Align offset is the std lib function I always use for this, but it's unstable.

@Amanieu
Copy link
Member

Amanieu commented Mar 11, 2019

ping @gnzlbg

@Amanieu
Copy link
Member

Amanieu commented Mar 11, 2019

Failure on 1.29, but in #46 I'm bumping the minimum version to 1.31 anyways.

@Amanieu
Copy link
Member

Amanieu commented Mar 11, 2019

On 1.31:

error[E0658]: `Self` struct constructors are unstable

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Mar 12, 2019

@Amanieu it appears that clippy suggests using Self for tuple struct constructors inside their impl, but that requires 1.33. I've reverted that change and silenced the clippy warning. We can update that once the minimum Rust version is bumped to a version higher than that.

@Amanieu
Copy link
Member

Amanieu commented Mar 12, 2019

bors r+

bors bot added a commit that referenced this pull request Mar 12, 2019
52: Upgrade CI (clippy, more targets) r=Amanieu a=gnzlbg



Co-authored-by: gnzlbg <[email protected]>
@bors
Copy link
Contributor

bors bot commented Mar 12, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 1c6fcb9 into rust-lang:master Mar 12, 2019
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