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

Enable edition=2018 for core_arch #725

Merged
merged 1 commit into from
Apr 18, 2019
Merged

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Apr 17, 2019

This sets core_arch to the 2018 edition, meaning that rust-lang/rust cannot be updated until rust-lang/rust#58702 is merged. cc @taiki-e

@gnzlbg gnzlbg merged commit 45f8450 into rust-lang:master Apr 18, 2019
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Apr 18, 2019

@taiki-e done, let's see if updating stdsimd is enough to get core compiling with rust2018 !

use stdsimd_test::simd_test;
use test::black_box; // Used to inhibit constant-folding.
use crate::hint::black_box;
use stdsimd_test::simd_test; // Used to inhibit constant-folding.
Copy link
Member

Choose a reason for hiding this comment

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

Comment moved from black_box to simd_test.

use stdsimd_test::simd_test;
use test::black_box; // Used to inhibit constant-folding.
use crate::hint::black_box;
use stdsimd_test::simd_test; // Used to inhibit constant-folding.
Copy link
Member

Choose a reason for hiding this comment

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

Same here

use std::f32::NAN;
use stdsimd_test::simd_test;
use test::black_box; // Used to inhibit constant-folding.
use stdsimd_test::simd_test; // Used to inhibit constant-folding.
Copy link
Member

Choose a reason for hiding this comment

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

Same here

use crate::core_arch::{simd::*, x86::*};
use stdsimd_test::simd_test;
use test::black_box; // Used to inhibit constant-folding.
use stdsimd_test::simd_test; // Used to inhibit constant-folding.
Copy link
Member

Choose a reason for hiding this comment

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

Same here

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Apr 19, 2019

@bjorn3 thanks, the comments should probably just be deleted.

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.

3 participants