-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixes and test for x86_64-unknown-linux-gnux32 #824
Conversation
pub u_ar0: *mut user_regs_struct, | ||
#[cfg(target_pointer_width = "32")] | ||
__pad2: u32, |
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.
Considering the definition of the user struct, it's seems odd to add a pad before the field, but without it, the test fails...
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.
shrug
- cargo build | ||
- cargo build --no-default-features | ||
- cargo build $OPT | ||
- cargo build $OPT --no-default-features |
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.
I think this may not be necessary due to the clause in run.sh
below?
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.
Oh nvmd, I see!
@@ -68,4 +68,10 @@ if [ "$QEMU" != "" ]; then | |||
exec grep "^PASSED .* tests" $CARGO_TARGET_DIR/out.log | |||
fi | |||
|
|||
exec cargo test --manifest-path libc-test/Cargo.toml --target $TARGET | |||
# FIXME: x86_64-unknown-linux-gnux32 fail to compile wihout --release |
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.
Perhaps an issue could be filed to tag here as well?
Nice! Everything looks great here modulo one nit for the issue to tag, and otherwise r=me |
@bors: r+ |
📌 Commit e63f46a has been approved by |
Fixes and test for x86_64-unknown-linux-gnux32 This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails). Fixes #816
💔 Test failed - status-travis |
@bors: retry |
Fixes and test for x86_64-unknown-linux-gnux32 This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails). Fixes #816
☀️ Test successful - status-appveyor, status-travis |
This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).
Fixes #816