-
Notifications
You must be signed in to change notification settings - Fork 271
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
Conversation
@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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@bjorn3 thanks, the comments should probably just be deleted. |
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