-
Notifications
You must be signed in to change notification settings - Fork 293
Attempt to fix tests on master #662
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,16 +251,6 @@ Next up let's take a look at an example of manually using intrinsics. Here | |
we'll be using SSE4.1 features to implement hex encoding. | ||
|
||
``` | ||
# #![cfg_attr(not(dox),feature(stdsimd))] | ||
# #![cfg_attr(not(dox), no_std)] | ||
# #[cfg(not(dox))] | ||
# extern crate std as real_std; | ||
# #[cfg(not(dox))] | ||
# extern crate core_arch as std; | ||
# #[cfg(not(dox))] | ||
# #[macro_use(is_x86_feature_detected)] | ||
# extern crate std_detect; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
EDIT2: so grepping for "real_std" reveals still some occurrences of this. I am not sure exactly why this change was needed here but not everywhere else. Opened: #665 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I don't really know what was happening to have the doctests fail, but this is all in std now so none of this was necessary any more |
||
|
||
fn main() { | ||
let mut dst = [0; 32]; | ||
hex_encode(b"\x01\x02\x03", &mut dst); | ||
|
Uh oh!
There was an error while loading. Please reload this page.
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.
We probably should add a comment around here about which exact problem
#[no_mangle]
solves (debug-info weirdness).EDIT: opened #664